View Javadoc

    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 jjtAccept(JavaParserVisitor visitor, Object data) {
    19          return visitor.visit(this, data);
    20      }
    21
    22      public void dump(String prefix) {
    23          System.out.println(toString(prefix) + getImage());
    24          dumpChildren(prefix);
    25      }
    26  }