Package net.hydromatic.morel.compile
Interface Macro
-
public interface MacroA function that is 'called' at compile time, and generates an expanded parse tree.Currently, Macros are internal. Also, the macro is validated as if it were a function. Its type is derived before expansion. Expansion must preserve the type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ast.Expexpand(Environment env)
-
-
-
Method Detail
-
expand
Ast.Exp expand(Environment env)
-
-