MCPcopy Create free account
hub / github.com/mozilla/rhino / put

Method put

rhino/src/main/java/org/mozilla/javascript/Scriptable.java:184–184  ·  view source on GitHub ↗

Sets a named property in this object. The property is specified by a string name as defined for get. The possible values that may be passed in are as defined for get. A class that implements this method may choose to ignore calls to set certain properties, in which case those

(String name, Scriptable start, Object value)

Source from the content-addressed store, hash-verified

182 * @see org.mozilla.javascript.Context#toObject(Object, VarScope)
183 */
184 @Override
185 public void put(String name, Scriptable start, Object value);
186
187 /**

Callers 15

parseMethod · 0.95
walkMethod · 0.95
putMethod · 0.95
js_fromEntriesMethod · 0.95
js_assignMethod · 0.95
propIncrDecrMethod · 0.95
newArrayLiteralMethod · 0.95
putPropertyMethod · 0.95
putSuperPropertyMethod · 0.95
withResolversMethod · 0.95
resolveMethod · 0.95

Implementers 5

ScriptableObjectrhino/src/main/java/org/mozilla/javasc
ScriptableUndefinedrhino/src/main/java/org/mozilla/javasc
FooBoilerplaterhino/src/test/java/org/mozilla/javasc
NativeJavaObjectrhino/src/main/java/org/mozilla/javasc
Matrixexamples/src/main/java/Matrix.java

Calls

no outgoing calls

Tested by 3

formatObjectMethod · 0.76
formatValueOnlyMethod · 0.76