MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::AsmParserState::AttributeAliasDefinition Struct Reference

This class represents the information for an attribute alias definition within the input file. More...

#include "mlir/AsmParser/AsmParserState.h"

Public Member Functions

 AttributeAliasDefinition (StringRef name, SMRange loc={}, Attribute value={})
 

Public Attributes

StringRef name
 The name of the attribute alias. More...
 
SMDefinition definition
 The source location for the alias. More...
 
Attribute value
 The value of the alias. More...
 

Detailed Description

This class represents the information for an attribute alias definition within the input file.

Definition at line 98 of file AsmParserState.h.

Constructor & Destructor Documentation

◆ AttributeAliasDefinition()

mlir::AsmParserState::AttributeAliasDefinition::AttributeAliasDefinition ( StringRef  name,
SMRange  loc = {},
Attribute  value = {} 
)
inline

Definition at line 99 of file AsmParserState.h.

Member Data Documentation

◆ definition

SMDefinition mlir::AsmParserState::AttributeAliasDefinition::definition

The source location for the alias.

Definition at line 107 of file AsmParserState.h.

Referenced by mlir::AsmParserState::addAttrAliasDefinition(), and mlir::AsmParserState::addAttrAliasUses().

◆ name

StringRef mlir::AsmParserState::AttributeAliasDefinition::name

The name of the attribute alias.

Definition at line 104 of file AsmParserState.h.

◆ value

Attribute mlir::AsmParserState::AttributeAliasDefinition::value

The value of the alias.

Definition at line 110 of file AsmParserState.h.

Referenced by mlir::AsmParserState::addAttrAliasDefinition().


The documentation for this struct was generated from the following file: