Trait gluon::compiler_pipeline::Typecheckable [] [src]

pub trait Typecheckable: Sized {
    type Expr: BorrowMut<SpannedExpr<Symbol>>;
    fn typecheck_expected(self,
                      compiler: &mut Compiler,
                      thread: &Thread,
                      file: &str,
                      expr_str: &str,
                      expected_type: Option<&ArcType>)
                      -> Result<TypecheckValue<Self::Expr>>; fn typecheck(self,
             compiler: &mut Compiler,
             thread: &Thread,
             file: &str,
             expr_str: &str)
             -> Result<TypecheckValue<Self::Expr>> { ... } }

Associated Types

Required Methods

Provided Methods

Implementors