View Javadoc

1   /* Generated By:JJTree: Do not edit this line. ASTBlock.java */
2   
3   package net.sourceforge.pmd.ast;
4   
5   public class ASTBlock extends SimpleJavaNode {
6       public ASTBlock(int id) {
7           super(id);
8       }
9   
10      public ASTBlock(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      private boolean containsComment;
23  
24      public boolean containsComment() {
25          return this.containsComment;
26      }
27  
28      public void setContainsComment() {
29          this.containsComment = true;
30      }
31  
32  }