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

This class represents the information for type definition within the input file. More...

#include "mlir/AsmParser/AsmParserState.h"

Public Member Functions

 TypeAliasDefinition (StringRef name, SMRange loc, Type value)
 

Public Attributes

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

Detailed Description

This class represents the information for type definition within the input file.

Definition at line 115 of file AsmParserState.h.

Constructor & Destructor Documentation

◆ TypeAliasDefinition()

mlir::AsmParserState::TypeAliasDefinition::TypeAliasDefinition ( StringRef  name,
SMRange  loc,
Type  value 
)
inline

Definition at line 116 of file AsmParserState.h.

Member Data Documentation

◆ definition

SMDefinition mlir::AsmParserState::TypeAliasDefinition::definition

The source location for the alias.

Definition at line 123 of file AsmParserState.h.

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

◆ name

StringRef mlir::AsmParserState::TypeAliasDefinition::name

The name of the attribute alias.

Definition at line 120 of file AsmParserState.h.

◆ value

Type mlir::AsmParserState::TypeAliasDefinition::value

The value of the alias.

Definition at line 126 of file AsmParserState.h.


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