Basic_Type¶
- class Basic_Type (abstract, logical)¶
- Direct parents:
inherits Named_Type
- Ancestor classes and implemented interfaces:
Declarative_Node, Logical_IR_Root, Member, Named_Entity, Named_Type, Symbol, Type
- Direct child classes:
subclass Nullptr_Type
subclass Integer_Type
subclass Floating_Point_Type
subclass Fixed_Point_Type
subclass Imaginary_Type
subclass Complex_Type
subclass Void_Type
subclass Boolean_Type
Field
Kind
Type
Description
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
Visibility (from Member)
attribute
enum Visibility_Type
Name (from Named_Entity)
attribute
builtin String