[][src]Struct gluon_vm::compiler::Compiler

pub struct Compiler<'a> { /* fields omitted */ }

Methods

impl<'a> Compiler<'a>[src]

pub fn new(
    globals: &'a (dyn CompilerEnv<Type = ArcType> + 'a),
    vm: &'a GlobalVmState,
    symbols: SymbolModule<'a>,
    source: &'a FileMap,
    source_name: String,
    emit_debug_info: bool
) -> Compiler<'a>
[src]

pub fn compile_expr(&mut self, expr: CExpr) -> Result<CompiledModule>[src]

Compiles an expression to a zero argument function which can be directly fed to the interpreter

Trait Implementations

impl<'a> TypeEnv for Compiler<'a>[src]

type Type = ArcType

impl<'a> KindEnv for Compiler<'a>[src]

Auto Trait Implementations

impl<'a> !Send for Compiler<'a>

impl<'a> !Sync for Compiler<'a>

Blanket Implementations

impl<D, T> FromPtr for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<Choices> CoproductSubsetter for Choices[src]

type Remainder = Choices

impl<Source> Sculptor for Source[src]

type Remainder = Source

impl<T, U, I> LiftInto for T where
    U: LiftFrom<T, I>, 
[src]

impl<T> Any for T where
    T: Any
[src]