Uses of Interface
org.htmlunit.corejs.javascript.Symbol
Packages that use Symbol
Package
Description
-
Uses of Symbol in org.htmlunit.corejs.javascript
Classes in org.htmlunit.corejs.javascript that implement SymbolModifier and TypeClassDescriptionclassThis is an implementation of the standard "Symbol" type that implements all of its weird properties.classA SymbolKey is one of the implementations of Symbol.Methods in org.htmlunit.corejs.javascript with parameters of type SymbolModifier and TypeMethodDescriptionvoidLambdaConstructor.defineConstructorMethod(Scriptable scope, Symbol key, String name, int length, Callable target, int attributes) Define a function property directly on the constructor that is implemented under the covers by a LambdaFunction.voidScriptableObject.defineProperty(Symbol key, Object value, int attributes) A version of defineProperty that uses a Symbol key.voidLambdaConstructor.definePrototypeProperty(Symbol key, Object value, int attributes) voidvoidvoidvoidvoidvoidsee https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-delete-pvoidvoidRemoves an object like the others, but using a Symbol as the key.voidDelete a property with the specified key.static booleanScriptableObject.deleteProperty(Scriptable obj, Symbol key) A version of deleteProperty for properties with Symbol keys.(package private) final intprotected intIdScriptableObject.findInstanceIdInfo(Symbol key) Map name to id of instance property.protected intES6Generator.findPrototypeId(Symbol k) protected intES6Iterator.findPrototypeId(Symbol k) protected intIdScriptableObject.findPrototypeId(Symbol key) protected intNativeArray.findPrototypeId(Symbol k) protected intNativeBigInt.findPrototypeId(Symbol k) protected intNativeMap.findPrototypeId(Symbol k) protected intNativeSet.findPrototypeId(Symbol k) protected intNativeString.findPrototypeId(Symbol k) protected intNativeSymbol.findPrototypeId(Symbol key) protected intNativeWeakMap.findPrototypeId(Symbol k) protected intNativeWeakSet.findPrototypeId(Symbol k) Delegator.get(Symbol key, Scriptable start) IdScriptableObject.get(Symbol key, Scriptable start) NativeArray.get(Symbol key, Scriptable start) NativeJavaArray.get(Symbol key, Scriptable start) NativeJavaList.get(Symbol key, Scriptable start) NativeJavaMap.get(Symbol key, Scriptable start) NativeJavaObject.get(Symbol key, Scriptable start) NativeProxy.get(Symbol key, Scriptable start) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiverNativeWith.get(Symbol key, Scriptable start) ScriptableObject.get(Symbol key, Scriptable start) Another version of Get that supports Symbol keyed properties.SymbolScriptable.get(Symbol key, Scriptable start) Return the value of the property with the specified key, or NOT_FOUND.intIdScriptableObject.getAttributes(Symbol key) intScriptableObject.getAttributes(Symbol sym) private SlotScriptableObject.getAttributeSlot(Symbol key) private static ScriptableScriptableObject.getBase(Scriptable start, Symbol key) private ScriptableObjectIdScriptableObject.getBuiltInDescriptor(Symbol key) static ObjectScriptableObject.getProperty(Scriptable obj, Symbol key) This is a version of getProperty that works with Symbols.private static StringEqualObjectGraphs.getSymbolName(Symbol s) booleanDelegator.has(Symbol key, Scriptable start) booleanIdScriptableObject.has(Symbol key, Scriptable start) booleanNativeArray.has(Symbol key, Scriptable start) booleanNativeJavaArray.has(Symbol key, Scriptable start) booleanNativeJavaList.has(Symbol key, Scriptable start) booleanNativeJavaMap.has(Symbol key, Scriptable start) booleanNativeJavaObject.has(Symbol key, Scriptable start) booleanNativeProxy.has(Symbol key, Scriptable start) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-hasproperty-pbooleanNativeWith.has(Symbol key, Scriptable start) booleanScriptableObject.has(Symbol key, Scriptable start) A version of "has" that supports symbols.booleanSymbolScriptable.has(Symbol key, Scriptable start) Return true if the specified property exists.static booleanScriptableObject.hasProperty(Scriptable obj, Symbol key) A version of hasProperty for properties with Symbol keys.final IdFunctionObjectIdScriptableObject.initPrototypeMethod(Object tag, int id, Symbol key, String functionName, int arity) final voidIdScriptableObject.initPrototypeValue(int id, Symbol key, Object value, int attributes) (package private) final voidprivate booleanNativeObject.isEnumerable(Symbol sym, Object obj) voidDelegator.put(Symbol symbol, Scriptable start, Object value) voidIdScriptableObject.put(Symbol key, Scriptable start, Object value) voidNativeArray.put(Symbol key, Scriptable start, Object value) voidNativeJavaObject.put(Symbol symbol, Scriptable start, Object value) voidNativeProxy.put(Symbol key, Scriptable start, Object value) https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-set-p-v-receivervoidNativeSymbol.put(Symbol key, Scriptable start, Object value) voidNativeWith.put(Symbol symbol, Scriptable start, Object value) voidScriptableObject.put(Symbol key, Scriptable start, Object value) Implementation of put required by SymbolScriptable objects.voidSymbolScriptable.put(Symbol key, Scriptable start, Object value) Add a new property to to the object.static voidScriptableObject.putProperty(Scriptable obj, Symbol key, Object value) This is a version of putProperty for Symbol keys.voidScriptableObject.setAttributes(Symbol key, int attributes) Set attributes of a Symbol-keyed property. -
Uses of Symbol in org.htmlunit.corejs.javascript.regexp
Methods in org.htmlunit.corejs.javascript.regexp with parameters of type Symbol -
Uses of Symbol in org.htmlunit.corejs.javascript.typedarrays
Methods in org.htmlunit.corejs.javascript.typedarrays with parameters of type SymbolModifier and TypeMethodDescriptionprotected intNativeTypedArrayView.findPrototypeId(Symbol k) NativeArrayBufferView.get(Symbol key, Scriptable start)