KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > pmd > ast > ASTEnumConstant


1 /* Generated By:JJTree: Do not edit this line. ASTEnumConstant.java */
2
3 package net.sourceforge.pmd.ast;
4
5 public class ASTEnumConstant extends SimpleJavaNode {
6     public ASTEnumConstant(int id) {
7         super(id);
8     }
9
10     public ASTEnumConstant(JavaParser p, int id) {
11         super(p, id);
12     }
13
14
15     /**
16      * Accept the visitor. *
17      */

18     public Object JavaDoc jjtAccept(JavaParserVisitor visitor, Object JavaDoc data) {
19         return visitor.visit(this, data);
20     }
21
22     public void dump(String JavaDoc prefix) {
23         System.out.println(toString(prefix) + getImage());
24         dumpChildren(prefix);
25     }
26 }
27
Popular Tags