Lambda_Capture¶
- class Lambda_Capture (abstract, physical)¶
- Direct parents:
inherits Declaration
- Ancestor classes and implemented interfaces:
- Direct child classes:
subclass Lambda_Simple_Capture
subclass Lambda_Init_Capture
Field
Kind
Type
Description
Logical (from Linked_Node)
semantic to logical
class Typed_Object
For simple captures: The object that was captured. Can be
NoNodefor lambdas within an NSDMI capturingthis(as a This_Parameter node is not available outside of routine scope). For init-captures: the field storing the capture.By_Reference
attribute
builtin Boolean
Is_Pack_Expansion
attribute
builtin Boolean
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