View Javadoc

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