Uses of Interface
org.htmlunit.corejs.javascript.Symbol
Packages that use Symbol
-
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(VarScope scope, Symbol key, String name, int length, SerializableCallable target) Define a function property directly on the constructor that is implemented under the covers by a LambdaFunction.voidScopeObject.defineProperty(Symbol key, Object value, int attributes) A version of defineProperty that uses a Symbol key.voidScriptableObject.defineProperty(Context cx, VarScope scope, Symbol key, ScriptableObject.LambdaGetterFunction getter, ScriptableObject.LambdaSetterFunction setter, int attributes) voidSlotMapOwner.defineProperty(Symbol key, Object value, int attributes) A version of defineProperty that uses a Symbol key.voidLambdaConstructor.definePrototypeProperty(Context cx, Symbol key, ScriptableObject descriptor) voidLambdaConstructor.definePrototypeProperty(Context cx, Symbol key, ScriptableObject.LambdaGetterFunction getter, int attributes) voidLambdaConstructor.definePrototypeProperty(Context cx, Symbol name, ScriptableObject.LambdaGetterFunction getter, ScriptableObject.LambdaSetterFunction setter) voidLambdaConstructor.definePrototypeProperty(Context cx, Symbol key, ScriptableObject.LambdaGetterFunction getter, ScriptableObject.LambdaSetterFunction setter, int attributes) voidLambdaConstructor.definePrototypeProperty(Symbol key, Object value, int attributes) voidvoidvoidvoidvoidvoidvoiddefault voidvoidRemoves an object like the others, but using a Symbol as the key.voidvoidDelete a property with the specified key.voidstatic booleanScriptableObject.deleteProperty(Scriptable obj, Symbol key) A version of deleteProperty for properties with Symbol keys.protected intIdScriptableObject.findInstanceIdInfo(Symbol key) Map name to id of instance property.protected intIdScriptableObject.findPrototypeId(Symbol key) Delegator.get(Symbol key, Scriptable start) IdScriptableObject.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) Another version of Get that supports Symbol keyed properties.default ObjectScriptable.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) intSlotMapOwner.getAttributes(Symbol sym) static ScriptableScriptableObject.getClassPrototype(VarScope scope, Symbol className) static ObjectScriptableObject.getProperty(Scriptable obj, Symbol key) This is a version of getProperty that works with Symbols.static ObjectScriptableObject.getProperty(VarScope obj, Symbol name) static ObjectScriptableObject.getSuperProperty(Scriptable superObj, Scriptable thisObj, Symbol key) This is a version of getSuperProperty that works with Symbols.booleanbooleanDelegator.has(Symbol key, Scriptable start) booleanIdScriptableObject.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) booleanbooleanA version of "has" that supports symbols.default booleanScriptable.has(Symbol key, Scriptable start) booleanA version of "has" that supports symbols.booleanSymbolScriptable.has(Symbol key, Scriptable start) Return true if the specified property exists.booleanstatic 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 IdFunctionObjectIdScriptableObject.initPrototypeMethod(Object tag, int id, Symbol key, String functionName, int arity, int attributes) final voidIdScriptableObject.initPrototypeValue(int id, Symbol key, Object value, int attributes) voidvoidDelegator.put(Symbol symbol, Scriptable start, Object value) voidIdScriptableObject.put(Symbol key, Scriptable start, Object value) voidNativeJavaObject.put(Symbol symbol, Scriptable start, Object value) voidNativeSymbol.put(Symbol key, Scriptable start, Object value) voidvoidImplementation of put required by SymbolScriptable objects.default voidScriptable.put(Symbol key, Scriptable start, Object value) voidScriptableObject.put(Symbol key, Scriptable start, Object value) Implementation of put required by SymbolScriptable objects.voidvoidSymbolScriptable.put(Symbol key, Scriptable start, Object value) Add a new property to to the object.voidprotected booleanScopeObject.putOwnProperty(Symbol key, VarScope start, Object value, boolean isThrow) Set the value of the named property, and return true if the property is actually defined and can be set.protected booleanScriptableObject.putOwnProperty(Symbol key, Scriptable start, Object value, boolean isThrow) Set the value of the named property, and return true if the property is actually defined and can be set.static voidScriptableObject.putProperty(Scriptable obj, Symbol key, Object value) This is a version of putProperty for Symbol keys.static voidScriptableObject.putSuperProperty(Scriptable superObj, Scriptable thisObj, Symbol key, Object value) Variant of putProperty to handle super[key] = value where key is a symbolvoidScopeObject.setAttributes(Symbol key, int attributes) Set attributes of a Symbol-keyed property.voidSlotMapOwner.setAttributes(Symbol key, int attributes) Set attributes of a Symbol-keyed property.