vox.fe.passes.names_resolve

Members

Enums

LookupResult
enum LookupResult

Error means that lookup failed due to earlier failure or error, so no new error should be produced

Functions

lookupImports
AstIndex lookupImports(Scope* scop, Identifier id, TokenIndex from, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
lookupScopeIdRecursive
AstIndex lookupScopeIdRecursive(Scope* scop, Identifier id, TokenIndex from, CompilationContext* context)

Look up symbol by Identifier. Searches the stack of scopes.

pass_names_resolve
void pass_names_resolve(CompilationContext context, CompilePassPerModule[] subPasses)
Undocumented in source. Be warned that the author may not have intended to support it.
require_name_resolve
void require_name_resolve(AstIndex nodeIndex, CompilationContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
require_name_resolve
void require_name_resolve(AstNodes items, NameResolveState state)
Undocumented in source. Be warned that the author may not have intended to support it.
require_name_resolve
void require_name_resolve(AstIndex nodeIndex, NameResolveState state)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

NameResolveState
struct NameResolveState
Undocumented in source.

Meta

Authors

Andrey Penechko. Resolve all symbol references (variable/type/function/enum name uses) using information collected on previous pass