1 |
| |
2 |
| |
3 |
| package net.sourceforge.pmd.ast; |
4 |
| |
5 |
| public class ASTBlock extends SimpleJavaNode { |
6 |
8
| public ASTBlock(int id) {
|
7 |
8
| super(id);
|
8 |
| } |
9 |
| |
10 |
1415
| public ASTBlock(JavaParser p, int id) {
|
11 |
1415
| super(p, id);
|
12 |
| } |
13 |
| |
14 |
| |
15 |
| |
16 |
| |
17 |
| |
18 |
3532
| public Object jjtAccept(JavaParserVisitor visitor, Object data) {
|
19 |
3532
| return visitor.visit(this, data);
|
20 |
| } |
21 |
| |
22 |
| private boolean containsComment; |
23 |
| |
24 |
7
| public boolean containsComment() {
|
25 |
7
| return this.containsComment;
|
26 |
| } |
27 |
| |
28 |
47
| public void setContainsComment() {
|
29 |
47
| this.containsComment = true;
|
30 |
| } |
31 |
| |
32 |
| } |