Enum oftlisp::NullContext
[−]
[src]
pub enum NullContext {}
A Context
for plain data.
Trait Implementations
impl Context for NullContext
[src]
type BuiltinFunction = GcVoid
The type of a function implemented by the runtime.
type Expr = Expr<Self>
The type of an expression in the AST.
type ObjectVtable = GcVoid
The type of the vtable of an object.
type UserFunction = GcVoid
The type of a user function. This probably should just be the arguments (as an Args<C>
), the body (as C::Expr
), and the variables closed over and their values (as a GcLinkedList<(Symbol, Value<C>)>
). Read more
type ValueMeta = ()
The metadata attached to the value.
fn from_expr(expr: Gc<Expr<Self>>) -> Gc<Self::Expr>
[src]
Converts a standard ast::Expr
to the expression type of the context.