Reference_Type¶
- class Reference_Type (abstract, logical)¶
Reference types
- Direct parents:
inherits Nonmember_Pointer_Type
- Ancestor classes and implemented interfaces:
Declarative_Node, Logical_IR_Root, Nonmember_Pointer_Type, Pointer_Type, Symbol, Type, Unnamed_Type
- Direct child classes:
subclass LValue_Reference_Type
subclass RValue_Reference_Type
subclass Managed_Tracking_Reference_Type
Field
Kind
Type
Description
Pointed_To_Type (from Pointer_Type)
semantic
class Type
Size (from Type)
attribute
builtin Natural
Alignment_Log (from Type)
attribute
builtin Byte
log2 of the type’s alignment
Alignment (from Type)
attribute
builtin Natural
Alignment of the type (must be a power of 2)
Size_In_Bits (from Type)
attribute
builtin UInt64
Size of the type, in bits.
Parent (from Logical_IR_Root)
semantic
class Logical_IR_Root
Physical (from Logical_IR_Root)
semantic to physical
class Physical_IR_Root