Class JSFunction


public final class JSFunction extends JSNonProxy
  • Field Details

    • TYPE_NAME

      public static final com.oracle.truffle.api.strings.TruffleString TYPE_NAME
    • CLASS_NAME

      public static final com.oracle.truffle.api.strings.TruffleString CLASS_NAME
    • PROTOTYPE_NAME

      public static final com.oracle.truffle.api.strings.TruffleString PROTOTYPE_NAME
    • GENERATOR_FUNCTION_NAME

      public static final com.oracle.truffle.api.strings.TruffleString GENERATOR_FUNCTION_NAME
    • GENERATOR_NAME

      public static final com.oracle.truffle.api.strings.TruffleString GENERATOR_NAME
    • ASYNC_FUNCTION_NAME

      public static final com.oracle.truffle.api.strings.TruffleString ASYNC_FUNCTION_NAME
    • ASYNC_GENERATOR_FUNCTION_NAME

      public static final com.oracle.truffle.api.strings.TruffleString ASYNC_GENERATOR_FUNCTION_NAME
    • ASYNC_GENERATOR_NAME

      public static final com.oracle.truffle.api.strings.TruffleString ASYNC_GENERATOR_NAME
    • ENUMERATE_ITERATOR_PROTOTYPE_NAME

      public static final com.oracle.truffle.api.strings.TruffleString ENUMERATE_ITERATOR_PROTOTYPE_NAME
    • CALLER

      public static final com.oracle.truffle.api.strings.TruffleString CALLER
    • ARGUMENTS

      public static final com.oracle.truffle.api.strings.TruffleString ARGUMENTS
    • LENGTH

      public static final com.oracle.truffle.api.strings.TruffleString LENGTH
    • NAME

      public static final com.oracle.truffle.api.strings.TruffleString NAME
    • ORDINARY_HAS_INSTANCE

      public static final com.oracle.truffle.api.strings.TruffleString ORDINARY_HAS_INSTANCE
    • PROGRAM_FUNCTION_NAME

      public static final String PROGRAM_FUNCTION_NAME
      See Also:
    • BUILTIN_SOURCE_NAME

      public static final String BUILTIN_SOURCE_NAME
      See Also:
    • TS_BUILTIN_SOURCE_NAME

      public static final com.oracle.truffle.api.strings.TruffleString TS_BUILTIN_SOURCE_NAME
    • BUILTIN_SOURCE_SECTION

      public static final com.oracle.truffle.api.source.SourceSection BUILTIN_SOURCE_SECTION
    • ASYNC_FROM_SYNC_ITERATOR_PROTOTYPE_NAME

      public static final com.oracle.truffle.api.strings.TruffleString ASYNC_FROM_SYNC_ITERATOR_PROTOTYPE_NAME
    • PROTOTYPE_PROXY

      public static final PropertyProxy PROTOTYPE_PROXY
    • LENGTH_PROXY

      public static final PropertyProxy LENGTH_PROXY
    • NAME_PROXY

      public static final PropertyProxy NAME_PROXY
    • ARGUMENTS_PROXY

      public static final PropertyProxy ARGUMENTS_PROXY
    • CALLER_PROXY

      public static final PropertyProxy CALLER_PROXY
    • CLASS_PROTOTYPE_PLACEHOLDER

      public static final Object CLASS_PROTOTYPE_PLACEHOLDER
      Placeholder for lazy initialization of the prototype property.
    • INSTANCE

      public static final JSFunction INSTANCE
    • HOME_OBJECT_ID

      public static final com.oracle.truffle.api.object.HiddenKey HOME_OBJECT_ID
    • CLASS_ELEMENTS_ID

      public static final com.oracle.truffle.api.object.HiddenKey CLASS_ELEMENTS_ID
    • CLASS_INITIALIZERS_ID

      public static final com.oracle.truffle.api.object.HiddenKey CLASS_INITIALIZERS_ID
    • PRIVATE_BRAND_ID

      public static final com.oracle.truffle.api.object.HiddenKey PRIVATE_BRAND_ID
    • DEBUG_SCOPE_ID

      public static final com.oracle.truffle.api.object.HiddenKey DEBUG_SCOPE_ID
      Slot for scope object passed to inline parsed scripts.
    • CONSTRUCT

      public static final JSDynamicObject CONSTRUCT
      Construct token. Passed from the new node as this argument to built-in functions to differentiate between a constructor and a normal call (i.e., [[Construct]] and [[Call]] internal methods, see ES5 13.2.1 and 13.2.2). Must not be passed anywhere else.
  • Method Details