Uses of Interface
org.mozilla.javascript.Symbol
Packages that use Symbol
Package
Description
-
Uses of Symbol in org.mozilla.javascript
Classes in org.mozilla.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.mozilla.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) voidvoidvoidvoidvoidvoidvoidRemoves an object like the others, but using a Symbol as the key.voidDelete a property with the specified key.protected 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 intNativeMap.findPrototypeId(Symbol k) protected intNativeSet.findPrototypeId(Symbol k) 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) NativeWith.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) static ObjectScriptableObject.getProperty(Scriptable obj, Symbol key) This is a version of getProperty that works with Symbols.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) booleanNativeWith.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) 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) voidNativeSymbol.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.mozilla.javascript.regexp
Methods in org.mozilla.javascript.regexp with parameters of type Symbol -
Uses of Symbol in org.mozilla.javascript.typedarrays
Methods in org.mozilla.javascript.typedarrays with parameters of type Symbol