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 Core.Expexpand(TypeSystem typeSystem, Environment env, Type argType)
-
-
-
Method Detail
-
expand
Core.Exp expand(TypeSystem typeSystem, Environment env, Type argType)
-
-