public Arguments(NativeCall activation) { this.activation = activation; Scriptable parent = activation.getParentScope(); setParentScope(parent); setPrototype(ScriptableObject.getObjectPrototype(parent)); args = activation.originalArgs; lengthObj = Integer.valueOf(args.length); NativeFunction f = activation.function; calleeObj = f; int version = f.getLanguageVersion(); if (version <= Context.VERSION_1_3 && version != Context.VERSION_DEFAULT) { callerObj = null; } else { callerObj = NOT_FOUND; } }
superProto = ScriptableObject.getObjectPrototype(scope);
static void init(Scriptable scope, boolean sealed) { NativeWith obj = new NativeWith(); obj.setParentScope(scope); obj.setPrototype(ScriptableObject.getObjectPrototype(scope)); IdFunctionObject ctor = new IdFunctionObject(obj, FTAG, Id_constructor, "With", 0, scope); ctor.markAsConstructor(obj); if (sealed) { ctor.sealObject(); } ctor.exportAsScopeProperty(); }
ScriptableObject.getObjectPrototype(window).setPrototype(fallbackCaller); final Scriptable objectPrototype = ScriptableObject.getObjectPrototype(window); for (final Map.Entry<String, Scriptable> entry : prototypesPerJSName.entrySet()) { final String name = entry.getKey();
ScriptableObject.getObjectPrototype(window).setPrototype(fallbackCaller); final Scriptable objectPrototype = ScriptableObject.getObjectPrototype(window); for (final Map.Entry<String, Scriptable> entry : prototypesPerJSName.entrySet()) { final String name = entry.getKey();
ScriptableObject.getObjectPrototype(window).setPrototype(fallbackCaller); final Scriptable objectPrototype = ScriptableObject.getObjectPrototype(window); for (final Map.Entry<String, Scriptable> entry : prototypesPerJSName.entrySet()) { final String name = entry.getKey();
final Scriptable objectPrototype = ScriptableObject.getObjectPrototype(window); for (final Map.Entry<String, Scriptable> entry : prototypesPerJSName.entrySet()) { final String name = entry.getKey();
final Scriptable objectPrototype = ScriptableObject.getObjectPrototype(window); for (final Map.Entry<String, Scriptable> entry : prototypesPerJSName.entrySet()) { final String name = entry.getKey();
NativeObject.init(scope, sealed); Scriptable objectProto = ScriptableObject.getObjectPrototype(scope);