Class JSFunction
java.lang.Object
org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction
- All Implemented Interfaces:
JSFunctionFunctions, JSObjectFunctions
- Direct Known Subclasses:
JS5Function
Object Function
- Since:
- Standard ECMA-262 3rd. Edition
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JSFunctionproperty constructorprotected JSNumberproperty lengthproperty prototype -
Constructor Summary
ConstructorsConstructorDescriptionJSFunction(JSString argument_names, JSString body) Object Function(argument_names..., body) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JSFunctionFunctions
apply, callMethods inherited from interface JSObjectFunctions
hasOwnProperty, isPrototypeOf, propertyIsEnumerable, toLocaleString, toString, valueOf
-
Field Details
-
length
property length- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
-
prototype
property prototype- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
-
constructor
property constructor- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
-
-
Constructor Details
-
JSFunction
Object Function(argument_names..., body)- Parameters:
argument_names- Any number of string arguments, each naming one or more arguments of the Function object to be created.body- A string that represents the body of the function. It may contain a number of JavaScript statements, separated by semicolons.- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
-