1 |
| |
2 |
| |
3 |
| package net.sourceforge.pmd.ast; |
4 |
| |
5 |
| import net.sourceforge.pmd.symboltable.NameDeclaration; |
6 |
| |
7 |
| public class ASTName extends SimpleJavaNode { |
8 |
3
| public ASTName(int id) {
|
9 |
3
| super(id);
|
10 |
| } |
11 |
| |
12 |
1530
| public ASTName(JavaParser p, int id) {
|
13 |
1530
| super(p, id);
|
14 |
| } |
15 |
| |
16 |
| private NameDeclaration nd; |
17 |
| |
18 |
997
| public void setNameDeclaration(NameDeclaration nd) {
|
19 |
997
| this.nd = nd;
|
20 |
| } |
21 |
| |
22 |
452
| public NameDeclaration getNameDeclaration() {
|
23 |
452
| return this.nd;
|
24 |
| } |
25 |
| |
26 |
| |
27 |
| |
28 |
| |
29 |
| |
30 |
4028
| public Object jjtAccept(JavaParserVisitor visitor, Object data) {
|
31 |
4028
| return visitor.visit(this, data);
|
32 |
| } |
33 |
| |
34 |
| } |