View Javadoc

    1   /* Generated By:JJTree: Do not edit this line. ASTArguments.java */
    2
    3   package net.sourceforge.pmd.ast;
    4
    5   public class ASTArguments extends SimpleJavaNode {
    6       public ASTArguments(int id) {
    7           super(id);
    8       }
    9
    10      public ASTArguments(JavaParser p, int id) {
    11          super(p, id);
    12      }
    13
    14
    15      public int getArgumentCount() {
    16          if (this.jjtGetNumChildren() == 0) {
    17              return 0;
    18          }
    19          return this.jjtGetChild(0).jjtGetNumChildren();
    20      }
    21
    22      /***
    23       * Accept the visitor. *
    24       */
    25      public Object jjtAccept(JavaParserVisitor visitor, Object data) {
    26          return visitor.visit(this, data);
    27      }
    28  }