Trait GlobalSemanticContext

Source
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

Required Methods§

Source

fn function_declaration(&mut self, fn_decl: FunctionStatement)

Source

fn constant(&mut self, const_decl: Constant)

Source

fn types(&mut self, type_decl: StructTypes)

Implementors§