vox.fe.ast.decl.alias_

Members

Functions

name_register_self_alias
void name_register_self_alias(AstIndex nodeIndex, AliasDeclNode* node, NameRegisterState state)
Undocumented in source. Be warned that the author may not have intended to support it.
name_resolve_alias
void name_resolve_alias(AliasDeclNode* node, NameResolveState state)
Undocumented in source. Be warned that the author may not have intended to support it.
post_clone_alias
void post_clone_alias(AliasDeclNode* node, CloneState state)
Undocumented in source. Be warned that the author may not have intended to support it.
print_alias
void print_alias(AliasDeclNode* node, AstPrintState state)
Undocumented in source. Be warned that the author may not have intended to support it.
print_alias_array
void print_alias_array(AliasArrayDeclNode* node, AstPrintState state)
Undocumented in source. Be warned that the author may not have intended to support it.
type_check_alias
void type_check_alias(AliasDeclNode* node, TypeCheckState state)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

AliasArrayDeclNode
struct AliasArrayDeclNode
Undocumented in source.
AliasDeclNode
struct AliasDeclNode

Aliases are super simple in implementation Since they can only be used by name (via NameUseExprNode node), we simply replace NameUseExprNode with aliased entity when name is resolved

Meta

Authors

Andrey Penechko.