public class Symbol extends SimpleScriptable
Symbol
.Constructor and Description |
---|
Symbol()
Default constructor.
|
Symbol(String name)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue(Class<?> hint)
Returns the JavaScript default value of this object.
|
static Symbol |
getIterator(net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj)
Returns the
iterator static property. |
String |
getTypeOf() |
static Symbol |
getUnscopables(net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj)
Returns the
unscopables static property. |
String |
toString() |
clone, equivalentValues, get, getBrowserVersion, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
defineFunctionProperties, defineProperty, getClassName, setClassName, setParentScope
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public Symbol()
public Symbol(String name)
name
- the namepublic static Symbol getIterator(net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj)
iterator
static property.thisObj
- the scriptableiterator
static propertypublic static Symbol getUnscopables(net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj)
unscopables
static property.thisObj
- the scriptableunscopables
static propertypublic String getTypeOf()
getTypeOf
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public Object getDefaultValue(Class<?> hint)
getDefaultValue
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
getDefaultValue
in class SimpleScriptable
hint
- a hint as to the format of the default value (ignored in this case)Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.