Out_Of_Template_Member_Definition¶
- class Out_Of_Template_Member_Definition (concrete, physical)¶
Used for static fields or methods defined outside their template.
template<typename T> void MyTemplateClass<T>::func() {}- Implemented interfaces:
implements Template_Interface
- Direct parents:
inherits Out_Of_Scope_Definition
- Ancestor classes and implemented interfaces:
Declaration, Decorator_Interface, Definition, Definition_Decorator_Interface, Linked_Node, Operation, Out_Of_Scope_Definition, Physical_IR_Root, Template_Interface
Field
Kind
Type
Description
Class_Template
semantic
class Composite_Type_Interface
link to the template (composite below template-decoration)
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
Template_Parameters (from Template_Interface)
syntactic
list of interface Template_Parameter_Interface
Instances (from Template_Interface)
syntactic
set of interface Template_Instance_Interface
Instances of this template
Requires_Clause (from Template_Interface)
syntactic
class Expression
Decorated_Definition (from Definition_Decorator_Interface)
syntactic
class Definition
the real definition, or another decorator for it