org.mozilla.javascript
public class NativeWith extends Object implements Scriptable, IdFunctionCall, Serializable
with
statement.
It simply delegates every action to its prototype except
for operations on its parent.
Field Summary | |
---|---|
protected Scriptable | parent |
protected Scriptable | prototype |
Constructor Summary | |
---|---|
protected | NativeWith(Scriptable parent, Scriptable prototype) |
Method Summary | |
---|---|
void | delete(String id) |
void | delete(int index) |
Object | execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) |
Object | get(String id, Scriptable start) |
Object | get(int index, Scriptable start) |
String | getClassName() |
Object | getDefaultValue(Class typeHint) |
Object[] | getIds() |
Scriptable | getParentScope() |
Scriptable | getPrototype() |
boolean | has(String id, Scriptable start) |
boolean | has(int index, Scriptable start) |
boolean | hasInstance(Scriptable value) |
void | put(String id, Scriptable start, Object value) |
void | put(int index, Scriptable start, Object value) |
void | setParentScope(Scriptable parent) |
void | setPrototype(Scriptable prototype) |
protected Object | updateDotQuery(boolean value)
Must return null to continue looping or the final collection result. |