anvil.script
Interface CompilableFunction
- All Superinterfaces:
- Function, Type
- All Known Subinterfaces:
- ConstructorType, MethodType
- All Known Implementing Classes:
- ConstructorBase, ConstructorStatement, ConstructorTree, FunctionBase, FunctionStatement, InterfaceMethodBase, MethodBase, MethodStatement, ParameterTree
- public interface CompilableFunction
- extends Function
interface CompilableFunction
| 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 |
PARAMETER_CONTEXT
public static final int PARAMETER_CONTEXT
- See Also:
- Constant Field Values
PARAMETER_ANY
public static final int PARAMETER_ANY
- See Also:
- Constant Field Values
PARAMETER_STRING
public static final int PARAMETER_STRING
- See Also:
- Constant Field Values
PARAMETER_OBJECT
public static final int PARAMETER_OBJECT
- See Also:
- Constant Field Values
PARAMETER_DOUBLE
public static final int PARAMETER_DOUBLE
- See Also:
- Constant Field Values
PARAMETER_INT
public static final int PARAMETER_INT
- See Also:
- Constant Field Values
PARAMETER_LONG
public static final int PARAMETER_LONG
- See Also:
- Constant Field Values
PARAMETER_BOOLEAN
public static final int PARAMETER_BOOLEAN
- See Also:
- Constant Field Values
PARAMETER_ARRAY
public static final int PARAMETER_ARRAY
- See Also:
- Constant Field Values
PARAMETER_ANYLIST
public static final int PARAMETER_ANYLIST
- See Also:
- Constant Field Values
PARAMETER_LIST
public static final int PARAMETER_LIST
- See Also:
- Constant Field Values
PARAMETER_REST
public static final int PARAMETER_REST
- See Also:
- Constant Field Values
CLASSES
public static final java.lang.String[] CLASSES
SIGNATURES
public static final java.lang.String[] SIGNATURES
getMinimumParameterCount
public int getMinimumParameterCount()
getParameterCount
public int getParameterCount()
getParameterType
public int getParameterType(int index)
getParameterName
public java.lang.String getParameterName(int index)
getParameterDefault
public Any getParameterDefault(int index)
getParameterDoc
public Doc getParameterDoc(int index)
getAttribute
public Any getAttribute(java.lang.String name)
isInnerFunction
public boolean isInnerFunction()
getDispatcher
public FunctionDispatcher getDispatcher(Context context)