KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > velocity > runtime > parser > node > ParserVisitor


1 package org.apache.velocity.runtime.parser.node;
2
3 /*
4  * Copyright 2000-2001,2004 The Apache Software Foundation.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */

18
19 public interface ParserVisitor
20 {
21   public Object JavaDoc visit(SimpleNode node, Object JavaDoc data);
22   public Object JavaDoc visit(ASTprocess node, Object JavaDoc data);
23   public Object JavaDoc visit(ASTComment node, Object JavaDoc data);
24   public Object JavaDoc visit(ASTNumberLiteral node, Object JavaDoc data);
25   public Object JavaDoc visit(ASTStringLiteral node, Object JavaDoc data);
26   public Object JavaDoc visit(ASTIdentifier node, Object JavaDoc data);
27   public Object JavaDoc visit(ASTWord node, Object JavaDoc data);
28   public Object JavaDoc visit(ASTDirective node, Object JavaDoc data);
29   public Object JavaDoc visit(ASTBlock node, Object JavaDoc data);
30   public Object JavaDoc visit(ASTObjectArray node, Object JavaDoc data);
31   public Object JavaDoc visit(ASTMethod node, Object JavaDoc data);
32   public Object JavaDoc visit(ASTReference node, Object JavaDoc data);
33   public Object JavaDoc visit(ASTTrue node, Object JavaDoc data);
34   public Object JavaDoc visit(ASTFalse node, Object JavaDoc data);
35   public Object JavaDoc visit(ASTText node, Object JavaDoc data);
36   public Object JavaDoc visit(ASTIfStatement node, Object JavaDoc data);
37   public Object JavaDoc visit(ASTElseStatement node, Object JavaDoc data);
38   public Object JavaDoc visit(ASTElseIfStatement node, Object JavaDoc data);
39   public Object JavaDoc visit(ASTSetDirective node, Object JavaDoc data);
40   public Object JavaDoc visit(ASTExpression node, Object JavaDoc data);
41   public Object JavaDoc visit(ASTAssignment node, Object JavaDoc data);
42   public Object JavaDoc visit(ASTOrNode node, Object JavaDoc data);
43   public Object JavaDoc visit(ASTAndNode node, Object JavaDoc data);
44   public Object JavaDoc visit(ASTEQNode node, Object JavaDoc data);
45   public Object JavaDoc visit(ASTNENode node, Object JavaDoc data);
46   public Object JavaDoc visit(ASTLTNode node, Object JavaDoc data);
47   public Object JavaDoc visit(ASTGTNode node, Object JavaDoc data);
48   public Object JavaDoc visit(ASTLENode node, Object JavaDoc data);
49   public Object JavaDoc visit(ASTGENode node, Object JavaDoc data);
50   public Object JavaDoc visit(ASTAddNode node, Object JavaDoc data);
51   public Object JavaDoc visit(ASTSubtractNode node, Object JavaDoc data);
52   public Object JavaDoc visit(ASTMulNode node, Object JavaDoc data);
53   public Object JavaDoc visit(ASTDivNode node, Object JavaDoc data);
54   public Object JavaDoc visit(ASTModNode node, Object JavaDoc data);
55   public Object JavaDoc visit(ASTNotNode node, Object JavaDoc data);
56 }
57
Popular Tags