MLIR 22.0.0git
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.
SMDefinition definition
 The source location for the alias.
Type value
 The value of the alias.

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.

References definition, name, and value.

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(), and TypeAliasDefinition().

◆ name

StringRef mlir::AsmParserState::TypeAliasDefinition::name

The name of the attribute alias.

Definition at line 120 of file AsmParserState.h.

Referenced by TypeAliasDefinition().

◆ value

Type mlir::AsmParserState::TypeAliasDefinition::value

The value of the alias.

Definition at line 126 of file AsmParserState.h.

Referenced by TypeAliasDefinition().


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