01: /* Generated By:JJTree: Do not edit this line. ASTName.java */
02:
03: package net.sourceforge.pmd.ast;
04:
05: import net.sourceforge.pmd.symboltable.NameDeclaration;
06:
07: public class ASTName extends SimpleJavaTypeNode {
08: public ASTName(int id) {
09: super (id);
10: }
11:
12: public ASTName(JavaParser p, int id) {
13: super (p, id);
14: }
15:
16: private NameDeclaration nd;
17:
18: public void setNameDeclaration(NameDeclaration nd) {
19: this .nd = nd;
20: }
21:
22: public NameDeclaration getNameDeclaration() {
23: return this .nd;
24: }
25:
26: /**
27: * Accept the visitor. *
28: */
29: public Object jjtAccept(JavaParserVisitor visitor, Object data) {
30: return visitor.visit(this, data);
31: }
32: }
|