Constexpr_Static_Field_Declaration¶
- class Constexpr_Static_Field_Declaration (concrete, physical)¶
only allowed for static fields of literal type
- Implemented interfaces:
implements Constexpr_Object_Interface
- Direct parents:
inherits Normal_Static_Field_Declaration
- Ancestor classes and implemented interfaces:
Assignment_Interface, Constexpr_Object_Interface, Declaration, Linked_Node, Member_Interface, No_Def_Declaration, Normal_Static_Field_Declaration, Operation, Physical_IR_Root, Signature_Start_Information, Static_Field_Declaration, Static_Field_Interface, Static_Storage_Class_Specifier_Interface, Storage_Class_Specifier_Interface, Typed_Object_Interface, Variable_Declaration, Variable_Interface
Field
Kind
Type
Description
Initialization (from Static_Field_Declaration)
syntactic
class Expression
Can be non-null for in-class initializer (field then const)
Initialization_Kind (from Static_Field_Declaration)
attribute
enum Initialization_Type
Form of initialization (copy and initializer-list may appear)
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
Its_Type (from Typed_Object_Interface)
syntactic
interface Possibly_Attributed_Type_Interface
The syntactic type selection used in this object declaration.
Signature_Start_Position (from Signature_Start_Information)
attribute
builtin SLoc
Specifier_Position_Index (from Signature_Start_Information)
attribute
builtin SLoc_Index_Type
Internal source location info
Specifier_Position (from Signature_Start_Information)
attribute
builtin SLoc
location of the first specifier, e.g.,
classorstatickeyword