All Packages Class Hierarchy This Package Previous Next Index
Class epp.InvokeStyleMacro
java.lang.Object
|
+----epp.InvokeStyleMacro
- public abstract class InvokeStyleMacro
- extends Object
クラス InvokeStyleMacro は、
関数呼び出しの形をしたマクロ定義を
サポートするために用意されています。.
例えば SWAP(int, a, b) のような形のマクロを実現する場合には、
まず、 InvokeStyleMacro のサブクラスとしてマクロ展開オブジェクトを
実装します。
そして、 Epp の defineInvokeStyleMacro メソッドを
使って、定義したマクロ展開オブジェクトをハッシュ表に登録します。
- See Also:
- initInvokeStyleMacroTable, defineInvokeStyleMacro, redefineInvokeStyleMacro, Macro
-
InvokeStyleMacro()
-
-
call(Tree, Tree[])
-
-
checkInvocationArgsLength(Tree, int)
-
-
error(String)
- InvokeStyleMacro のマクロ展開中にユーザのエラーが起きた時呼び出す
メソッドです。
-
genTemp(String)
- Macro.genTemp と同じです。.
InvokeStyleMacro
public InvokeStyleMacro()
call
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 と同じです。.
- See Also:
- genTemp
error
public static Error error(String str)
- InvokeStyleMacro のマクロ展開中にユーザのエラーが起きた時呼び出す
メソッドです。
All Packages Class Hierarchy This Package Previous Next Index