TypeFeatures
graph BT
N1["TypeFeatures"] -->|inherits| N2["AST"];
N2["AST"] -->|inherits| N3["Stringable"];
N3["Stringable"] -->|inherits| N4["Any"];
Characteristics
Quality | Value |
---|---|
Inherits | AST |
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_method
#strict
add_method (s nom @Self, f nom Function) -> Nil
num_methods
#strict
num_methods (s nom @Self) -> Int64
get_method
#strict
get_method (s nom @Self, idx Int64) -> nom Function
add_unary_operator
#strict
add_unary_operator (s nom @Self, f nom Function) -> Nil
num_unary_operators
#strict
num_unary_operators (s nom @Self) -> Int64
get_unary_operator
#strict
get_unary_operator (s nom @Self, idx Int64) -> nom Function
add_binary_operator
#strict
add_binary_operator (s nom @Self, f nom Function) -> Nil
num_binary_operators
#strict
num_binary_operators (s nom @Self) -> Int64
get_binary_operator
#strict
get_binary_operator (s nom @Self, idx Int64) -> nom Function
add_cast_to
#strict
add_cast_to (s nom @Self, f nom Function) -> Nil
num_cast_tos
#strict
num_cast_tos (s nom @Self) -> Int64
get_cast_to
#strict
get_cast_to (s nom @Self, idx Int64) -> nom Function
add_cast_from
#strict
add_cast_from (s nom @Self, f nom Function) -> Nil
num_cast_froms
#strict
num_cast_froms (s nom @Self) -> Int64
get_cast_from
#strict
get_cast_from (s nom @Self, idx Int64) -> nom Function
add_property
#strict
add_property (s nom @Self, f nom Property) -> Nil
num_properties
#strict
num_properties (s nom @Self) -> Int64
get_property
#strict
get_property (s nom @Self, idx Int64) -> nom Property
add_enum_variant
#strict
add_enum_variant (s nom @Self, f nom EnumVariant) -> Nil
num_enum_variants
#strict
num_enum_variants (s nom @Self) -> Int64
get_enum_variant
#strict
get_enum_variant (s nom @Self, idx Int64) -> nom EnumVariant
add_type_alias
#strict
add_type_alias (s nom @Self, f nom ID) -> Nil
num_type_aliases
#strict
num_type_aliases (s nom @Self) -> Int64
get_type_alias
#strict
get_type_alias (s nom @Self, idx Int64) -> nom ID
add_const_expression
#strict
add_const_expression (s nom @Self, f nom ID) -> Nil
num_const_expressions
#strict
num_const_expressions (s nom @Self) -> Int64
get_const_expression
#strict
get_const_expression (s nom @Self, idx Int64) -> nom ID
num_functions
#strict
num_functions (s nom @Self) -> Int64
get_function
#strict
get_function (s nom @Self, idx Int64) -> nom Function
Properties
subscript (computed)
subscript nom Subscript?
member_access (computed)
member_access nom Subscript?
call_operator (computed)
call_operator nom Function?
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