View Javadoc

    1   package net.sourceforge.pmd.lang.ecmascript.ast;
    2
    3   import org.mozilla.javascript.ast.ArrayComprehensionLoop;
    4
    5   public class ASTArrayComprehensionLoop extends AbstractEcmascriptNode<ArrayComprehensionLoop> {
    6
    7       public ASTArrayComprehensionLoop(ArrayComprehensionLoop arrayComprehensionLoop) {
    8   	super(arrayComprehensionLoop);
    9       }
    10
    11      /**
    12       * Accept the visitor.
    13       */
    14      public Object jjtAccept(EcmascriptParserVisitor visitor, Object data) {
    15  	return visitor.visit(this, data);
    16      }
    17
    18      public EcmascriptNode getIterator() {
    19  	return (EcmascriptNode) jjtGetChild(0);
    20      }
    21
    22      public EcmascriptNode getIteratedObject() {
    23  	return (EcmascriptNode) jjtGetChild(1);
    24      }
    25  }