public abstract class MacroResolver
extends java.lang.Object
| Constructor and Description |
|---|
MacroResolver() |
| Modifier and Type | Method and Description |
|---|---|
static WarpScriptStack.Macro |
find(WarpScriptStack stack,
java.lang.String name)
Attempt to find the named macro by invoking resolvers in the order in which they appear.
|
abstract WarpScriptStack.Macro |
findMacro(WarpScriptStack stack,
java.lang.String name)
Implementation of the actual macro finding method
|
static void |
register(MacroResolver resolver) |
public static void register(MacroResolver resolver)
public abstract WarpScriptStack.Macro findMacro(WarpScriptStack stack, java.lang.String name) throws WarpScriptException
stack - WarpScriptStack context within which to find the macroname - Name of Macro to findWarpScriptException - in case of errorpublic static WarpScriptStack.Macro find(WarpScriptStack stack, java.lang.String name) throws WarpScriptException
stack - WarpScriptStack context within which to find the macroname - Name of Macro to findWarpScriptException - in case of error