Struct gluon_vm::compiler::CompiledFunction [] [src]

pub struct CompiledFunction {
    pub args: VMIndex,
    pub id: Symbol,
    pub typ: TcType,
    pub instructions: Vec<Instruction>,
    pub inner_functions: Vec<CompiledFunction>,
    pub strings: Vec<InternedStr>,
    pub module_globals: Vec<Symbol>,
}

Fields

args: VMIndex id: Symbol typ: TcType instructions: Vec<Instruction> inner_functions: Vec<CompiledFunction> strings: Vec<InternedStr> module_globals: Vec<Symbol>

Storage for globals which are needed by the module which is currently being compiled

Methods

impl CompiledFunction
[src]

fn new(args: VMIndex, id: Symbol, typ: TcType) -> CompiledFunction

Trait Implementations

impl Debug for CompiledFunction
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.