Package org.htmlunit.javascript
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:
java.io.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private BrowserVersion
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
-
-
Constructor Summary
Constructors Constructor Description RecursiveFunctionObject(java.lang.String name, java.lang.reflect.Member methodOrConstructor, org.htmlunit.corejs.javascript.Scriptable scope, BrowserVersion browserVersion)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(java.lang.String name, org.htmlunit.corejs.javascript.Scriptable start)
org.htmlunit.corejs.javascript.Scriptable
getClassPrototype()
Make this public.java.lang.Object[]
getIds()
boolean
has(java.lang.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
-
-
-
-
Field Detail
-
browserVersion_
private final BrowserVersion browserVersion_
-
-
Constructor Detail
-
RecursiveFunctionObject
public RecursiveFunctionObject(java.lang.String name, java.lang.reflect.Member methodOrConstructor, org.htmlunit.corejs.javascript.Scriptable scope, BrowserVersion browserVersion)
The constructor.- Parameters:
name
- the name of the functionmethodOrConstructor
- aMember
that defines the objectscope
- the enclosing scope of functionbrowserVersion
- the browserVersion
-
-
Method Detail
-
has
public boolean has(java.lang.String name, org.htmlunit.corejs.javascript.Scriptable start)
- Specified by:
has
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
has
in classorg.htmlunit.corejs.javascript.IdScriptableObject
-
getIds
public java.lang.Object[] getIds()
- Specified by:
getIds
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
getIds
in classorg.htmlunit.corejs.javascript.ScriptableObject
-
get
public java.lang.Object get(java.lang.String name, org.htmlunit.corejs.javascript.Scriptable start)
- Specified by:
get
in interfaceorg.htmlunit.corejs.javascript.Scriptable
- Overrides:
get
in classorg.htmlunit.corejs.javascript.IdScriptableObject
-
getClassPrototype
public org.htmlunit.corejs.javascript.Scriptable getClassPrototype()
Make this public.- Overrides:
getClassPrototype
in classorg.htmlunit.corejs.javascript.BaseFunction
-
-