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 Object implements JSFunctionFunctions
Object Function
Since:
Standard ECMA-262 3rd. Edition
  • Field Details

    • length

      protected JSNumber length
      property length
      Since:
      Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
      See Also:
    • prototype

      public JSFunction prototype
      property prototype
      Since:
      Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
      See Also:
    • constructor

      protected JSFunction constructor
      property constructor
      Since:
      Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
      See Also:
  • Constructor Details

    • 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.