pub trait GlobalSemanticContext {
// Required methods
fn function_declaration(&mut self, fn_decl: FunctionStatement);
fn constant(&mut self, const_decl: Constant);
fn types(&mut self, type_decl: StructTypes);
}
Expand description
Semantic Context trait contain instructions set functions for Global Stack context. It includes:
- functions
- types
- constants