Uses of Interface
org.mozilla.javascript.Symbol
Package
Description
-
Uses of Symbol in org.mozilla.javascript
Modifier and TypeClassDescriptionclass
This is an implementation of the standard "Symbol" type that implements all of its weird properties.class
A SymbolKey is one of the implementations of Symbol.Modifier and TypeMethodDescriptionvoid
LambdaConstructor.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.void
ScriptableObject.defineProperty
(Symbol key, Object value, int attributes) A version of defineProperty that uses a Symbol key.void
LambdaConstructor.definePrototypeProperty
(Symbol key, Object value, int attributes) void
void
void
void
void
void
void
Removes an object like the others, but using a Symbol as the key.void
Delete a property with the specified key.protected int
IdScriptableObject.findInstanceIdInfo
(Symbol key) Map name to id of instance property.protected int
ES6Generator.findPrototypeId
(Symbol k) protected int
ES6Iterator.findPrototypeId
(Symbol k) protected int
IdScriptableObject.findPrototypeId
(Symbol key) protected int
NativeArray.findPrototypeId
(Symbol k) protected int
NativeMap.findPrototypeId
(Symbol k) protected int
NativeSet.findPrototypeId
(Symbol k) protected int
NativeWeakMap.findPrototypeId
(Symbol k) protected int
NativeWeakSet.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.int
IdScriptableObject.getAttributes
(Symbol key) int
ScriptableObject.getAttributes
(Symbol sym) static Object
ScriptableObject.getProperty
(Scriptable obj, Symbol key) This is a version of getProperty that works with Symbols.boolean
Delegator.has
(Symbol key, Scriptable start) boolean
IdScriptableObject.has
(Symbol key, Scriptable start) boolean
NativeArray.has
(Symbol key, Scriptable start) boolean
NativeJavaArray.has
(Symbol key, Scriptable start) boolean
NativeJavaList.has
(Symbol key, Scriptable start) boolean
NativeJavaMap.has
(Symbol key, Scriptable start) boolean
NativeJavaObject.has
(Symbol key, Scriptable start) boolean
NativeWith.has
(Symbol key, Scriptable start) boolean
ScriptableObject.has
(Symbol key, Scriptable start) A version of "has" that supports symbols.boolean
SymbolScriptable.has
(Symbol key, Scriptable start) Return true if the specified property exists.static boolean
ScriptableObject.hasProperty
(Scriptable obj, Symbol key) A version of hasProperty for properties with Symbol keys.final IdFunctionObject
IdScriptableObject.initPrototypeMethod
(Object tag, int id, Symbol key, String functionName, int arity) final void
IdScriptableObject.initPrototypeValue
(int id, Symbol key, Object value, int attributes) void
Delegator.put
(Symbol symbol, Scriptable start, Object value) void
IdScriptableObject.put
(Symbol key, Scriptable start, Object value) void
NativeArray.put
(Symbol key, Scriptable start, Object value) void
NativeJavaObject.put
(Symbol symbol, Scriptable start, Object value) void
NativeSymbol.put
(Symbol key, Scriptable start, Object value) void
NativeWith.put
(Symbol symbol, Scriptable start, Object value) void
ScriptableObject.put
(Symbol key, Scriptable start, Object value) Implementation of put required by SymbolScriptable objects.void
SymbolScriptable.put
(Symbol key, Scriptable start, Object value) Add a new property to to the object.static void
ScriptableObject.putProperty
(Scriptable obj, Symbol key, Object value) This is a version of putProperty for Symbol keys.void
ScriptableObject.setAttributes
(Symbol key, int attributes) Set attributes of a Symbol-keyed property. -
Uses of Symbol in org.mozilla.javascript.regexp
-
Uses of Symbol in org.mozilla.javascript.typedarrays