anvil.script.compiler
Class NativeFunction

java.lang.Object
  |
  +--anvil.script.compiler.Compiled
        |
        +--anvil.script.compiler.FunctionBase
              |
              +--anvil.script.compiler.NativeFunction
All Implemented Interfaces:
CompilableFunction, Function, NativeJava, Type

public class NativeFunction
extends FunctionBase
implements NativeJava

class NativeFunction


Field Summary
 
Fields inherited from class anvil.script.compiler.FunctionBase
_define, _dispatcher, _functionname, _generatordispatcher, _isinner, _method, _parameters, _signature
 
Fields inherited from class anvil.script.compiler.Compiled
_document, _name, _parent, _parents, _private, _qname
 
Fields inherited from interface anvil.script.CompilableFunction
CLASSES, PARAMETER_ANY, PARAMETER_ANYLIST, PARAMETER_ARRAY, PARAMETER_BOOLEAN, PARAMETER_CONTEXT, PARAMETER_DOUBLE, PARAMETER_INT, PARAMETER_LIST, PARAMETER_LONG, PARAMETER_OBJECT, PARAMETER_REST, PARAMETER_STRING, SIGNATURES
 
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
NativeFunction(Scope parent, java.lang.reflect.Method method, java.lang.String name, java.lang.Object[] parameters, Doc doc)
           
 
Methods inherited from class anvil.script.compiler.FunctionBase
execute, execute, execute, execute, execute, execute, execute, getAttribute, getDispatcher, getGeneratorDispatcher, getMinimumParameterCount, getParameterCount, getParameterDefault, getParameterDoc, getParameterName, getParameterType, getType, getTypeRef, isInnerFunction, toString
 
Methods inherited from class anvil.script.compiler.Compiled
findClass, findInterface, findMethod, findNamespace, getDocument, getfield, getName, getParent, getParents, getQualifiedName, getstatic, getstatic, isPrivate, putfield, putstatic, putstatic, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface anvil.script.Type
getDocument, getName, getParent, getParents, getQualifiedName, isPrivate
 

Constructor Detail

NativeFunction

public NativeFunction(Scope parent,
                      java.lang.reflect.Method method,
                      java.lang.String name,
                      java.lang.Object[] parameters,
                      Doc doc)