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()
	InvokeStyleMacro()
   
 call(Tree, Tree[])
	call(Tree, Tree[])
   checkInvocationArgsLength(Tree, int)
	checkInvocationArgsLength(Tree, int)
   error(String)
	error(String)
  InvokeStyleMacro.
   genTemp(String)
	genTemp(String)
  Macro.genTemp.
 
 InvokeStyleMacro
InvokeStyleMacro
public InvokeStyleMacro()
 
 call
call
 public abstract Tree call(Tree tree,
                           Tree args[])
 checkInvocationArgsLength
checkInvocationArgsLength
 public static void checkInvocationArgsLength(Tree tree,
                                              int argc)
 genTemp
genTemp
public static Symbol genTemp(String prefix)
Macro.genTemp.
 error
error
public static Error error(String str)
InvokeStyleMacro.
All Packages Class Hierarchy This Package Previous Next Index