[][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>

impl<'a> Unpin for Compiler<'a>

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

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

Blanket Implementations

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

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

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

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