01: /* Generated By:JJTree: Do not edit this line. ASTArguments.java */
02:
03: package net.sourceforge.pmd.ast;
04:
05: public class ASTArguments extends SimpleJavaNode {
06: public ASTArguments(int id) {
07: super (id);
08: }
09:
10: public ASTArguments(JavaParser p, int id) {
11: super (p, id);
12: }
13:
14: public int getArgumentCount() {
15: if (this .jjtGetNumChildren() == 0) {
16: return 0;
17: }
18: return this .jjtGetChild(0).jjtGetNumChildren();
19: }
20:
21: /**
22: * Accept the visitor. *
23: */
24: public Object jjtAccept(JavaParserVisitor visitor, Object data) {
25: return visitor.visit(this, data);
26: }
27: }
|