Skip to content

BlockExpression

graph BT
N1["BlockExpression"] -->|inherits| N2["Block"];
N1["BlockExpression"] -->|inherits| N3["Expression"];
N3["Expression"] -->|inherits| N4["Instruction"];
N4["Instruction"] -->|inherits| N5["AST"];
N5["AST"] -->|inherits| N6["Stringable"];
N6["Stringable"] -->|inherits| N7["Any"];
N2["Block"] -->|inherits| N4["Instruction"];
N2["Block"] -->|inherits| N8["ReverseIterable[Instruction]"];
N2["Block"] -->|inherits| N9["Length"];
N9["Length"] -->|inherits| N7["Any"];
N8["ReverseIterable[Instruction]"] -->|inherits| N10["BidirectionalIterable[Instruction]"];
N10["BidirectionalIterable[Instruction]"] -->|inherits| N11["Iterable[Instruction]"];
N11["Iterable[Instruction]"] -->|inherits| N12["IterableAT"];
N12["IterableAT"] -->|inherits| N7["Any"];
N4["Instruction"] -->|inherits| N5["AST"];
N5["AST"] -->|inherits| N6["Stringable"];
N6["Stringable"] -->|inherits| N7["Any"];

Characteristics

Quality Value
Inherits Block, Expression
Extends N/A
Decorators N/A
Is enum false
Is sealed false
Is extern false
Is abstract false
Is generator false
Has value semantics false
Has stored properties true
Should register destructor true
Has atomic memory false
Is copy assignable false
Is zero initializable false

Methods

construct

construct (s strictly @Self, ast_ptr: Pointer = Pointer(), owner: Bool = true) -> Self

add_instruction

#strict
add_instruction (s nom @Self, instruction nom Instruction) -> Nil

instruction

#strict
instruction (s nom @Self, index Len) -> nom Instruction

len

#strict
len (s nom @Self) -> Len

Properties

doc_string (computed)

doc_string String

decorators (computed)

decorators nom DecoratorList?

status (computed)

status UInt32

sets and returns the ast status code defined by the compiler


__ast_ptr

__ast_ptr Pointer

__is_owner

__is_owner Bool