Skip to content

DecoratorList

graph BT
N1["DecoratorList"] -->|inherits| N2["AST"];
N1["DecoratorList"] -->|inherits| N3["Unpackable[nom Decorator]"];
N3["Unpackable[nom Decorator]"] -->|inherits| N4["Iterable[nom Decorator]"];
N3["Unpackable[nom Decorator]"] -->|inherits| N5["UnpackableAT"];
N5["UnpackableAT"] -->|inherits| N6["Length"];
N5["UnpackableAT"] -->|inherits| N7["IterableAT"];
N5["UnpackableAT"] -->|inherits| N8["CollectionAT"];
N8["CollectionAT"] -->|inherits| N9["Any"];
N7["IterableAT"] -->|inherits| N9["Any"];
N6["Length"] -->|inherits| N9["Any"];
N4["Iterable[nom Decorator]"] -->|inherits| N7["IterableAT"];
N7["IterableAT"] -->|inherits| N9["Any"];
N2["AST"] -->|inherits| N10["Stringable"];
N10["Stringable"] -->|inherits| N9["Any"];

Characteristics

Quality Value
Inherits AST, Unpackable[nom Decorator]
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

Type Aliases

DType

DType = nom Decorator

Subscript

[s nom @Self, index Int64] -> nom DType

Methods

construct

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

add_decorator

add_decorator (s nom @Self, decorator nom DType) -> Nil

len

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

get_iterator

get_iterator (s nom @Self) -> ASTListIterator[nom Self]

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