01: /* Generated By:JJTree: Do not edit this line. ASTEnumConstant.java */
02:
03: package net.sourceforge.pmd.ast;
04:
05: public class ASTEnumConstant extends SimpleJavaNode {
06: public ASTEnumConstant(int id) {
07: super (id);
08: }
09:
10: public ASTEnumConstant(JavaParser p, int id) {
11: super (p, id);
12: }
13:
14: /**
15: * Accept the visitor. *
16: */
17: public Object jjtAccept(JavaParserVisitor visitor, Object data) {
18: return visitor.visit(this , data);
19: }
20:
21: public void dump(String prefix) {
22: System.out.println(toString(prefix) + getImage());
23: dumpChildren(prefix);
24: }
25: }
|