public class RecursiveFunctionObject
extends net.sourceforge.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
Constructor and Description |
---|
RecursiveFunctionObject(String name,
Member methodOrConstructor,
net.sourceforge.htmlunit.corejs.javascript.Scriptable scope)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start) |
BrowserVersion |
getBrowserVersion()
Gets the browser version currently used.
|
Object |
getDefaultValue(Class<?> typeHint) |
String |
getFunctionName() |
Object[] |
getIds() |
String |
getTypeOf() |
boolean |
has(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start) |
addAsConstructor, call, convertArg, convertArg, createObject, getArity, getLength, getMethodOrConstructor, getTypeTag
construct, execIdCall, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, getClassName, getClassPrototype, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, getPrototypeProperty, hasInstance, hasPrototypeProperty, initPrototypeId, setImmunePrototypeProperty, setInstanceIdAttributes, setInstanceIdValue
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, exportAsJSClass, getAttributes, getOwnPropertyDescriptor, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isReadOnlySettable, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public RecursiveFunctionObject(String name, Member methodOrConstructor, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope)
name
- the name of the functionmethodOrConstructor
- a Member
that defines the objectscope
- the enclosing scope of functionpublic boolean has(String name, net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
has
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
has
in class net.sourceforge.htmlunit.corejs.javascript.IdScriptableObject
public Object[] getIds()
getIds
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
getIds
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public BrowserVersion getBrowserVersion()
public Object getDefaultValue(Class<?> typeHint)
getDefaultValue
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
getDefaultValue
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public String getTypeOf()
getTypeOf
in class net.sourceforge.htmlunit.corejs.javascript.BaseFunction
public String getFunctionName()
getFunctionName
in class net.sourceforge.htmlunit.corejs.javascript.FunctionObject
Copyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.