tan
0.0.1
|
Perform preliminary type checking. We try our best to resolve types, and remember those that cannot be fully resolved plus their symbol dependencies. More...
#include <type_precheck.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< TypePrecheck, Package *, 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) |
Perform preliminary type checking. We try our best to resolve types, and remember those that cannot be fully resolved plus their symbol dependencies.
This class only operates on top-level declarations, such as functions, structs, ... And it expects all input AST nodes to contain a non-empty type.
Definition at line 23 of file type_precheck.h.