api

SymbolResolver.ch

Declarations in SymbolResolver.ch

1 declarationscompiler

Declarations

Public only
SymbolResolver#
Publicinterface
interface SymbolResolver : ASTDiagnoser
getAnnotationController#
Publicfunction
func getAnnotationController(self : &SymbolResolver) : *AnnotationController
resolve#
Publicfunction
func resolve(self : &SymbolResolver, view : &string_view) : *ASTNode
declare#
Publicfunction
func declare(self : &SymbolResolver, view : &string_view, node : *ASTNode) : void
this function is very direct, doesn't cause shadowing
declare_tld_default#
Publicfunction
func declare_tld_default(self : &SymbolResolver, view : &string_view, node : *ASTNode) : void
declare the symbol with default shadowing
declare_or_shadow#
Publicfunction
func declare_or_shadow(self : &SymbolResolver, view : &string_view, node : *ASTNode) : void
shadows the symbol if already exists, doesn't cause an error
scope_start#
Publicfunction
func scope_start(self : &SymbolResolver) : void
starts a scope
scope_end#
Publicfunction
func scope_end(self : &SymbolResolver) : void
ends the previously started scope, dropping all symbols introduced between
getJobBuilder#
Publicfunction
func getJobBuilder(self : &SymbolResolver) : ASTBuilder
use this, if you want allocations to persist across modules
getModBuilder#
Publicfunction
func getModBuilder(self : &SymbolResolver) : ASTBuilder
use this, if you don't want allocations to persist across modules
getFileBuilder#
Publicfunction
func getFileBuilder(self : &SymbolResolver) : ASTBuilder
the fastest allocator, probably allocations will persist only in files
index_impl#
Publicfunction
func index_impl(self : &SymbolResolver, impl : *ImplDefinition) : void
register + index an impl that was generated after the module's index phase