anvil.script.compiler
Class FunctionDispatcher

java.lang.Object
  |
  +--anvil.script.compiler.FunctionDispatcher
All Implemented Interfaces:
Function, Type

public abstract class FunctionDispatcher
extends java.lang.Object
implements Function


Field Summary
 
Fields inherited from interface anvil.script.Type
CLASS, CONSTANT_VARIABLE, CONSTRUCTOR, FUNCTION, FUNCTION_PARAMETER, GLOBAL_NAMESPACE, IMPORT, INTERFACE, INTERFACE_METHOD, LOCAL_VARIABLE, MEMBER_VARIABLE, METHOD, MODULE, NAMESPACE, SCOPE0, STATIC_VARIABLE, SYSTEM_NAMESPACE, TYPE_NAMES
 
Constructor Summary
FunctionDispatcher()
           
 
Method Summary
abstract  Any execute(Context context, java.lang.Object self, Any[] parameters)
           
static Array rest1(Any[] parameters, int start)
           
static Any[] rest2(Any[] parameters, int start)
           
static AnyTuple rest3(Any[] parameters, int start)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface anvil.script.Function
execute, execute, execute, execute, execute, execute, execute
 
Methods inherited from interface anvil.script.Type
getDocument, getName, getParent, getParents, getQualifiedName, getType, getTypeRef, isPrivate
 

Constructor Detail

FunctionDispatcher

public FunctionDispatcher()
Method Detail

execute

public abstract Any execute(Context context,
                            java.lang.Object self,
                            Any[] parameters)

rest1

public static final Array rest1(Any[] parameters,
                                int start)

rest2

public static final Any[] rest2(Any[] parameters,
                                int start)

rest3

public static final AnyTuple rest3(Any[] parameters,
                                   int start)