All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class epp.InvokeStyleMacro

java.lang.Object
   |
   +----epp.InvokeStyleMacro

public abstract class InvokeStyleMacro
extends Object
The 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.

See Also:
initInvokeStyleMacroTable, defineInvokeStyleMacro, redefineInvokeStyleMacro, Macro

Constructor Index

 o InvokeStyleMacro()

Method Index

 o call(Tree, Tree[])
 o checkInvocationArgsLength(Tree, int)
 o error(String)
Called when a user error occurs while expanding the macro of InvokeStyleMacro.
 o genTemp(String)
Same as Macro.genTemp.

Constructors

 o InvokeStyleMacro
 public InvokeStyleMacro()

Methods

 o call
 public abstract Tree call(Tree tree,
                           Tree args[])
 o checkInvocationArgsLength
 public static void checkInvocationArgsLength(Tree tree,
                                              int argc)
 o genTemp
 public static Symbol genTemp(String prefix)
Same as Macro.genTemp.

See Also:
genTemp
 o error
 public static Error error(String str)
Called when a user error occurs while expanding the macro of InvokeStyleMacro.


All Packages  Class Hierarchy  This Package  Previous  Next  Index