Conversion_Operator_Method_Definition¶
- class Conversion_Operator_Method_Definition (abstract, physical)¶
- Implemented interfaces:
implements Conditional_Explicit_Interface
implements Conversion_Operator_Method_Interface
- Direct parents:
inherits Operator_Method_Definition
- Ancestor classes and implemented interfaces:
Callable_Unit_Definition, Conditional_Explicit_Interface, Conversion_Operator_Method_Interface, Declaration, Definition, Linked_Node, Member_Interface, Member_Routine_Definition, Method_Definition, Method_Interface, Operation, Operation_Container, Operator_Method_Definition, Parameter_List_Interface, Physical_IR_Root, Routine_Definition, Routine_Interface, Signature_Start_Information
- Direct child classes:
Field
Kind
Type
Description
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
Explicit_Condition (from Conditional_Explicit_Interface)
syntactic
class Expression
The constant expression that must evaluate to true or false.
nullif there was none, i.e., justexplicit, which is equivalent toexplicit(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.Children (from Operation_Container)
syntactic
set of class Physical_IR_Root
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