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