/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ |
H A D | IteratorAction.java | 41 protected Object thisArg; field in class:IteratorAction 60 * @param thisArg the reference 63 public IteratorAction(final Object self, final Object callbackfn, final Object thisArg, final T initialResult) { argument 64 this(self, callbackfn, thisArg, initialResult, ArrayLikeIterator.arrayLikeIterator(self)); 72 * @param thisArg the reference 76 public IteratorAction(final Object self, final Object callbackfn, final Object thisArg, final T initialResult, final ArrayLikeIterator<Object> iter) { argument 81 this.thisArg = thisArg; 99 // for non-strict callback, need to translate undefined thisArg to be global object 100 thisArg [all...] |
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/ |
H A D | NativeArray.java | 1519 * ECMA 15.4.4.16 Array.prototype.every ( callbackfn [ , thisArg ] ) 1523 * @param thisArg this argument 1527 public static boolean every(final Object self, final Object callbackfn, final Object thisArg) { argument 1528 return applyEvery(Global.toObject(self), callbackfn, thisArg); 1531 private static boolean applyEvery(final Object self, final Object callbackfn, final Object thisArg) { argument 1532 return new IteratorAction<Boolean>(Global.toObject(self), callbackfn, thisArg, true) { 1537 return result = (boolean)everyInvoker.invokeExact(callbackfn, thisArg, val, i, self); 1543 * ECMA 15.4.4.17 Array.prototype.some ( callbackfn [ , thisArg ] ) 1547 * @param thisArg this argument 1551 public static boolean some(final Object self, final Object callbackfn, final Object thisArg) { argument 1571 forEach(final Object self, final Object callbackfn, final Object thisArg) argument 1592 map(final Object self, final Object callbackfn, final Object thisArg) argument 1621 filter(final Object self, final Object callbackfn, final Object thisArg) argument [all...] |
H A D | NativeMap.java | 203 * @param thisArg optional this-object 206 public static void forEach(final Object self, final Object callbackFn, final Object thisArg) { argument 222 final Object result = invoker.invokeExact(callbackFn, thisArg, node.getValue(), node.getKey(), self);
|
H A D | NativeSet.java | 185 * ECMA6 23.2.3.6 Set.prototype.forEach ( callbackfn [ , thisArg ] ) 189 * @param thisArg optional this object 192 public static void forEach(final Object self, final Object callbackFn, final Object thisArg) { argument 208 final Object result = invoker.invokeExact(callbackFn, thisArg, node.getKey(), node.getKey(), self);
|
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/javac/ |
H A D | SourceClass.java | 78 LocalMember thisArg; field in class:SourceClass 221 if (thisArg == null) { 222 thisArg = new LocalMember(where, this, 0, getType(), idThis); 224 return thisArg; 980 LocalMember thisArg = getThisArgument(); 981 int thisNumber = ctxInst.declare(env, thisArg); 1728 Expression thisArg = null; 1740 thisArg = new ThisExpression(where); 1750 thisArg = new IdentifierExpression(names[0]); 1757 access = thisArg; [all...] |
H A D | SourceMember.java | 730 // Cf. "thisArg" in SourceClass.checkMembers(). 732 LocalMember thisArg = 734 ctxInst.declare(env, thisArg);
|
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ |
H A D | Lower.java | 2619 JCExpression thisArg; 2621 thisArg = attr.makeNullCheck(translate(tree.encl)); 2622 thisArg.type = tree.encl.type; 2625 thisArg = makeThis(tree.pos(), c.type.getEnclosingType().tsym); 2628 thisArg = makeOwnerThis(tree.pos(), c, false); 2630 tree.args = tree.args.prepend(thisArg); 2821 JCExpression thisArg; 2823 thisArg = attr. 2829 thisArg = makeThis(tree.meth.pos(), c.type.getEnclosingType().tsym); 2832 thisArg [all...] |