vox.fe.ast.ast_node

Members

Aliases

AstNodeMap
alias AstNodeMap = HashMap!(Identifier, AstIndex, Identifier.init)
Undocumented in source.
AstNodes
alias AstNodes = Array!AstIndex
Undocumented in source.

Enums

getAstNodeType
eponymoustemplate getAstNodeType(T)
Undocumented in source.
hasAstNodeType
eponymoustemplate hasAstNodeType(T)
Undocumented in source.

Functions

check_is_type
void check_is_type(AstIndex nodeIndex, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
find_innermost_owner
AstIndex find_innermost_owner(ScopeIndex parentScope, AstType ownerType, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
get_ast_index
AstIndex get_ast_index(T* node, CompilationContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
get_effective_node
AstIndex get_effective_node(AstIndex nodeIndex, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
get_expr_type
AstIndex get_expr_type(AstIndex nodeIndex, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
get_node_alias
AstIndex get_node_alias(AstIndex nodeIndex, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
get_node_id
Identifier get_node_id(AstIndex nodeIndex, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
get_node_kind_name
string get_node_kind_name(AstIndex nodeIndex, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
get_node_type
AstIndex get_node_type(AstIndex nodeIndex, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
print_node_name
void print_node_name(TextSink sink, AstIndex nodeIndex, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
printer
AstNodePrinter printer(AstIndex nodeIndex, CompilationContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

AstNodeData
mixintemplate AstNodeData(AstType _astType = AstType.abstract_node, int default_flags = 0, AstNodeState _init_state = AstNodeState.parse_done)
Undocumented in source.

Structs

AstNode
struct AstNode
Undocumented in source.
AstNodePrinter
struct AstNodePrinter
Undocumented in source.
ErrorAstNode
struct ErrorAstNode
Undocumented in source.

Meta

Authors

Andrey Penechko.