All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----epp.InvokeStyleMacro
InvokeStyleMacro
class is provided
to support macro definitions that have a format of a function call.
For example, in order to implement a macro in a format like
SWAP(int, a, b), you must first implement the macro expansion object
as a subclass of InvokeStyleMacro
.
Then, register the macro expansion object you defined to the
hash table using the defineInvokeStyleMacro
method of Epp.
InvokeStyleMacro
.
Macro.genTemp
.
public InvokeStyleMacro()
public abstract Tree call(Tree tree, Tree args[])checkInvocationArgsLength
public static void checkInvocationArgsLength(Tree tree, int argc)genTemp
public static Symbol genTemp(String prefix)
Macro.genTemp
.
public static Error error(String str)
InvokeStyleMacro
.
All Packages Class Hierarchy This Package Previous Next Index