Class JSFunction
- java.lang.Object
-
- org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction
-
- All Implemented Interfaces:
JSFunctionFunctions,JSObjectFunctions
- Direct Known Subclasses:
JS5Function
public abstract class JSFunction extends java.lang.Object implements JSFunctionFunctions
Object Function- Since:
- Standard ECMA-262 3rd. Edition
-
-
Field Summary
Fields Modifier and Type Field Description protected JSFunctionconstructorproperty constructorprotected JSNumberlengthproperty lengthJSFunctionprototypeproperty prototype
-
Constructor Summary
Constructors Constructor Description JSFunction(JSString argument_names, JSString body)Object Function(argument_names..., body)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSFunctionFunctions
apply, call
-
Methods inherited from interface org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSObjectFunctions
hasOwnProperty, isPrototypeOf, propertyIsEnumerable, toLocaleString, toString, valueOf
-
-
-
-
Field Detail
-
length
protected JSNumber length
property length- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Number
-
prototype
public JSFunction prototype
property prototype- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Function
-
constructor
protected JSFunction constructor
property constructor- Since:
- Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Function
-
-
Constructor Detail
-
JSFunction
public JSFunction(JSString argument_names, JSString body)
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.
-
-