Struct gluon_check::typecheck::Typecheck [] [src]

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

Struct which provides methods to typecheck expressions.

Methods

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

Create a new typechecker which typechecks expressions in module

Typecheck expr. If successful the type of the expression will be returned and all identifiers in expr will be filled with the inferred type