01: /*
02: * Author: Mike Atkinson
03: *
04: * This software has been developed under the copyleft
05: * rules of the GNU General Public License. Please
06: * consult the GNU General Public License for more
07: * details about use and distribution of this software.
08: */
09: package net.sourceforge.jrefactory.ast;
10:
11: import net.sourceforge.jrefactory.parser.JavaParser;
12: import net.sourceforge.jrefactory.parser.JavaParserVisitor;
13:
14: /**
15: * Description of the Class
16: *
17: * @author Mike Atkinson
18: * @since jRefactory 2.9.4, created November 09, 2003
19: */
20: public class ASTConstantDeclaration extends AccessNode {
21:
22: /**
23: * Constructor for the ASTConstantDeclaration node.
24: *
25: * @param identifier The id of this node (JJTCONSTANTDECLARATION).
26: */
27: public ASTConstantDeclaration(int identifier) {
28: super (identifier);
29: }
30:
31: /**
32: * Constructor for the ASTConstantDeclaration node.
33: *
34: * @param parser The JavaParser that created this ASTConstantDeclaration node.
35: * @param identifier The id of this node (JJTCONSTANTDECLARATION).
36: */
37: public ASTConstantDeclaration(JavaParser parser, int identifier) {
38: super (parser, identifier);
39: }
40:
41: /**
42: * Accept the visitor. *
43: *
44: * @param visitor An implementation of JavaParserVisitor that processes the ASTConstantDeclaration node.
45: * @param data Some data being passed between the visitor methods.
46: * @return Usually the data parameter (possibly modified).
47: */
48: public Object jjtAccept(JavaParserVisitor visitor, Object data) {
49: return visitor.visit(this, data);
50: }
51:
52: }
|