tan
0.0.1
|
Register all declarations (including local) in the corresponding scopes. Run this stage early to easily obtain a list of top-level declarations from each source file. More...
#include <register_declarations.h>
Additional Inherited Members | |
Public Types inherited from tanlang::CompilerAction< Derived, Input, Output > | |
using | CompilerActionType = CompilerAction< Derived, Input, Output > |
Protected Member Functions inherited from tanlang::SemanticAnalysisAction< RegisterDeclarations, Program *, void > | |
void | error (ErrorType type, ASTBase *p, const str &message) |
void | push_scope (ASTBase *scope) |
void | pop_scope () |
Context * | ctx () |
Context * | top_ctx () |
Decl * | search_decl_in_scopes (const str &name) |
T * | search_node_in_parent_scopes () |
Protected Member Functions inherited from tanlang::CompilerAction< Derived, Input, Output > | |
virtual void | init (Input) |
Register all declarations (including local) in the corresponding scopes. Run this stage early to easily obtain a list of top-level declarations from each source file.
Definition at line 12 of file register_declarations.h.