Root_Node¶
- class Root_Node (abstract, physical)¶
- Direct parents:
inherits Toplevel_Node
- Ancestor classes and implemented interfaces:
- Direct child classes:
subclass System
subclass Compilation_Unit
Field
Kind
Type
Description
Units
syntactic
set of class Unit
the compilation units (a single one before linking); note that the build-IR part will contain more details about the assembling of the system
All_Files
syntactic
set of class File
all files across all units used in this system, sorted by Full_Name the files then in turn contain the ASTs
Additional_Template_Instances
syntactic
set of class Template_From_PCH
Non-empty only in units that are PCH clients and not yet linked with the PCH unit.
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