01: /* Generated By:JJTree: Do not edit this line. ASTDeclaration.java */
02:
03: package net.sourceforge.pmd.jsp.ast;
04:
05: public class ASTDeclaration extends SimpleNode {
06:
07: /* BEGIN CUSTOM CODE */
08: private String name;
09:
10: /**
11: * @return Returns the name.
12: */
13: public String getName() {
14: return name;
15: }
16:
17: /**
18: * @param name The name to set.
19: */
20: public void setName(String name) {
21: this .name = name;
22: }
23:
24: /* (non-Javadoc)
25: * @see com.applicationengineers.pmd4jsp.ast.SimpleNode#toString(java.lang.String)
26: */
27: public String toString(String prefix) {
28: return super .toString(prefix) + " name=[" + name + "] ";
29: }
30:
31: /* END CUSTOM CODE */
32:
33: public ASTDeclaration(int id) {
34: super (id);
35: }
36:
37: public ASTDeclaration(JspParser p, int id) {
38: super (p, id);
39: }
40:
41: /**
42: * Accept the visitor. *
43: */
44: public Object jjtAccept(JspParserVisitor visitor, Object data) {
45: return visitor.visit(this, data);
46: }
47: }
|