Struct gluon_vm::macros::MacroEnv [] [src]

pub struct MacroEnv { /* fields omitted */ }

Type containing macros bound to symbols which can be applied on an AST expression to transform it.

Methods

impl MacroEnv
[src]

[src]

Creates a new MacroEnv

[src]

Inserts a Macro which acts on any occurance of symbol when applied to an expression.

[src]

Retrieves the macro bound to symbol

[src]

Runs the macros in this MacroEnv on expr using env as the context of the expansion

Trait Implementations

impl Default for MacroEnv
[src]

[src]

Returns the "default value" for a type. Read more