private Node transform(JsInvocation x) {
   Node n = IR.call(transform(x.getQualifier()));
   for (Object element : x.getArguments()) {
     JsExpression arg = (JsExpression) element;
     n.addChildToBack(transform(arg));
   }
   return applySourceInfo(n, x);
 }
Пример #2
0
 @Override
 public void endVisit(JsInvocation x, JsContext ctx) {
   nodesInRefContext.remove(x.getQualifier());
   visitExpression(x, ctx);
 }
Пример #3
0
 @Override
 public boolean visit(JsInvocation x, JsContext ctx) {
   nodesInRefContext.add(x.getQualifier());
   return true;
 }