01: /* Generated By:JJTree: Do not edit this line. ASTBlock.java */
02:
03: package net.sourceforge.pmd.ast;
04:
05: public class ASTBlock extends SimpleJavaNode {
06: public ASTBlock(int id) {
07: super (id);
08: }
09:
10: public ASTBlock(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: private boolean containsComment;
22:
23: public boolean containsComment() {
24: return this .containsComment;
25: }
26:
27: public void setContainsComment() {
28: this .containsComment = true;
29: }
30:
31: }
|