Lambda_Call_Operator¶
- class Lambda_Call_Operator (abstract, physical)¶
- Implemented interfaces:
implements Method_Interface
- Direct parents:
inherits Callable_Unit_Definition
- Ancestor classes and implemented interfaces:
Callable_Unit_Definition, Declaration, Definition, Linked_Node, Method_Interface, Operation, Parameter_List_Interface, Physical_IR_Root, Routine_Interface
- Direct child classes:
subclass Noexcept_Lambda_Call_Operator
subclass Throw_Lambda_Call_Operator
subclass Nothrow_Lambda_Call_Operator
Field
Kind
Type
Description
Body
syntactic
standard only allows a compound statement here, but it can also be a coroutine in C++20
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
Return_Type (from Routine_Interface)
syntactic
interface Possibly_Attributed_Type_Interface
It’s syntactic because the type may be defined in-place in case of C structs; in the more usual semantic case, the child will be a Type_Selection node
Calling_Convention (from Routine_Interface)
attribute
Calling convention that was syntactically present.
Attributes (from Routine_Interface)
attribute
bitfield Physical_Routine_Attributes_Type
Bitfield of flags like is_inline, is_const etc.
Trailing_Requires_Clause (from Routine_Interface)
syntactic
class Expression
Parameters (from Parameter_List_Interface)
syntactic
list of class Possibly_Attributed_Parameter_Interface
All parameters, including the ellipsis, but excluding
thisUsually some Parameter_Definitions, but could also be an Attributed_Definition. Useskip_decorators()to get the parameter itself.