Class RecursiveFunctionObject

java.lang.Object
org.htmlunit.corejs.javascript.ScriptableObject
org.htmlunit.corejs.javascript.IdScriptableObject
org.htmlunit.corejs.javascript.BaseFunction
org.htmlunit.corejs.javascript.FunctionObject
org.htmlunit.javascript.RecursiveFunctionObject
All Implemented Interfaces:
Serializable, org.htmlunit.corejs.javascript.Callable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.Constructable, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Function, org.htmlunit.corejs.javascript.IdFunctionCall, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class RecursiveFunctionObject extends org.htmlunit.corejs.javascript.FunctionObject
A FunctionObject that returns IDs of this object and all its parent classes.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject

    org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final BrowserVersion
     

    Fields inherited from class org.htmlunit.corejs.javascript.FunctionObject

    JAVA_BOOLEAN_TYPE, JAVA_DOUBLE_TYPE, JAVA_INT_TYPE, JAVA_OBJECT_TYPE, JAVA_SCRIPTABLE_TYPE, JAVA_STRING_TYPE, JAVA_UNSUPPORTED_TYPE

    Fields inherited from class org.htmlunit.corejs.javascript.BaseFunction

    Id_arguments, Id_arity, Id_length, Id_name, Id_prototype, MAX_INSTANCE_ID

    Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject

    CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST

    Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

    NOT_FOUND
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecursiveFunctionObject(String name, Member methodOrConstructor, org.htmlunit.corejs.javascript.Scriptable scope, BrowserVersion browserVersion)
    The constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name, org.htmlunit.corejs.javascript.Scriptable start)
    org.htmlunit.corejs.javascript.Scriptable
    Make this public.
    boolean
    has(String name, org.htmlunit.corejs.javascript.Scriptable start)

    Methods inherited from class org.htmlunit.corejs.javascript.FunctionObject

    addAsConstructor, addAsConstructor, call, convertArg, convertArg, createObject, getArity, getFunctionName, getLength, getMethodOrConstructor, getTypeTag

    Methods inherited from class org.htmlunit.corejs.javascript.BaseFunction

    construct, execIdCall, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, getClassName, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, getPrototypeProperty, getTypeOf, hasInstance, hasPrototypeProperty, initPrototypeId, isGeneratorFunction, setImmunePrototypeProperty, setInstanceIdAttributes, setInstanceIdValue, setPrototypeProperty, setPrototypePropertyAttributes, setStandardPropertyAttributes, setupDefaultPrototype

    Methods inherited from class org.htmlunit.corejs.javascript.IdScriptableObject

    activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, delete, ensureType, exportAsJSClass, findInstanceIdInfo, findPrototypeId, get, getAttributes, getAttributes, getOwnPropertyDescriptor, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, instanceIdInfo, put, put, setAttributes

    Methods inherited from class org.htmlunit.corejs.javascript.ScriptableObject

    applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getObjectPrototype, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.htmlunit.corejs.javascript.Scriptable

    delete, delete, get, getDefaultValue, getParentScope, getPrototype, has, put, put, setParentScope, setPrototype
  • Field Details

  • Constructor Details

    • RecursiveFunctionObject

      public RecursiveFunctionObject(String name, Member methodOrConstructor, org.htmlunit.corejs.javascript.Scriptable scope, BrowserVersion browserVersion)
      The constructor.
      Parameters:
      name - the name of the function
      methodOrConstructor - a Member that defines the object
      scope - the enclosing scope of function
      browserVersion - the browserVersion
  • Method Details

    • has

      public boolean has(String name, org.htmlunit.corejs.javascript.Scriptable start)
      Specified by:
      has in interface org.htmlunit.corejs.javascript.Scriptable
      Overrides:
      has in class org.htmlunit.corejs.javascript.IdScriptableObject
    • getIds

      public Object[] getIds()
      Specified by:
      getIds in interface org.htmlunit.corejs.javascript.Scriptable
      Overrides:
      getIds in class org.htmlunit.corejs.javascript.ScriptableObject
    • get

      public Object get(String name, org.htmlunit.corejs.javascript.Scriptable start)
      Specified by:
      get in interface org.htmlunit.corejs.javascript.Scriptable
      Overrides:
      get in class org.htmlunit.corejs.javascript.IdScriptableObject
    • getClassPrototype

      public org.htmlunit.corejs.javascript.Scriptable getClassPrototype()
      Make this public.
      Overrides:
      getClassPrototype in class org.htmlunit.corejs.javascript.BaseFunction