Attributed_Typeref

class Attributed_Typeref (concrete, physical)

Attributes applied to a type reference. The attribute applies only to this use of the type: class S {} [[attr]] x; -> attribute applies to the type of x, but not to other uses of S. If the attribute was instead specified on the class itself, an Attributed_Type_Definition node would be used instead.

Implemented interfaces:
Direct parents:
Ancestor classes and implemented interfaces:

Attributed_Decorator_Interface, Declaration, Decorator_Interface, Definition, In_Place_Type_Composition, Linked_Node, Operation, Physical_IR_Root, Possibly_Attributed_Type_Interface, Type_Definition, Type_Interface, Unnamed_Type_Definition

Field

Kind

Type

Description

Original_Type

syntactic

interface Possibly_Attributed_Type_Interface

Logical (from Linked_Node)

semantic to logical

class Logical_IR_Root

cross-reference into LIR

Parent (from Physical_IR_Root)

semantic

class Physical_IR_Root

The parent of the node in the syntactic forest.

Original_Position_Index (from Physical_IR_Root)

attribute

builtin SLoc_Index_Type

Internal source location info. If from macro expansion, this location is inside the macro body or macro argument

Original_Position (from Physical_IR_Root)

attribute

builtin SLoc

Source location. If from macro expansion, this location is inside the macro body or macro argument

Position (from Physical_IR_Root)

attribute

builtin SLoc

Source location. If from macro expansion, this location is that of the macro expansion

Artificial (from Physical_IR_Root)

attribute

builtin Boolean

Whether this node was compiler-generated

Parenthesized (from Physical_IR_Root)

attribute

builtin Boolean

Whether this node was enclosed in parentheses (used for expressions)

In_Template_Instance (from Physical_IR_Root)

attribute

builtin Boolean

Whether this node is inside a template instance

Enclosing_Template_Instance (from Physical_IR_Root)

semantic

class Physical_IR_Root

Innermost enclosing template instance if In_Template_Instance is true

Sections (from Attributed_Decorator_Interface)

syntactic

list of class Attribute_Section