Global_Scope

class Global_Scope (concrete, logical)

AST root node

Direct parents:
Ancestor classes and implemented interfaces:

Declarative_Node, Logical_IR_Root, Nonlocal_Scope, Scope, Symbol

Field

Kind

Type

Description

Anonymous_Types

syntactic

set of class Type

the single place where all unnamed and basic types are collected

Main_Routine

semantic

class Routine

main(), WinMain() etc., if declared or defined in this IR

Initialization

syntactic

class Initialization_Function

link to artificial routine which does global initialization

Finalization

syntactic

class Finalization_Function

link to artificial routine which does global finalization

Entry

syntactic

class Entry_Function

root of the callgraph

Additional_Entries

semantic

set of class Routine

links to interrupt service routines and similar functions which form additional callgraph entries

Named_Address_Spaces

syntactic

set of class Named_Address_Space

configured named address spaces

Assemblies

syntactic

set of class Managed_Assembly

Files

syntactic

set of class File_Scope

Routines (from Nonlocal_Scope)

syntactic

set of class Routine

Routines inside the namespace/global scope

Namespaces (from Nonlocal_Scope)

syntactic

set of interface Namespace_Or_Alias

Usings (from Scope)

semantic

set of class Symbol

using <namespace> and using <declaration>

Types (from Scope)

syntactic

set of class Type

Variables (from Scope)

syntactic

set of class Variable

Concepts (from Scope)

syntactic

set of class Concept

Template_Composites (from Scope)

syntactic

set of interface Template_Composite_Type_Interface

Template_Routines (from Scope)

syntactic

set of interface Template_Routine_Interface

Parent (from Logical_IR_Root)

semantic

class Logical_IR_Root

Physical (from Logical_IR_Root)

semantic to physical

class Physical_IR_Root