KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > python > parser > ast > VisitorBase


1 // Autogenerated AST node
2
package org.python.parser.ast;
3 import org.python.parser.SimpleNode;
4
5 public abstract class VisitorBase implements VisitorIF {
6     public Object JavaDoc visitModule(Module node) throws Exception JavaDoc {
7         Object JavaDoc ret = unhandled_node(node);
8         traverse(node);
9         return ret;
10     }
11
12     public Object JavaDoc visitInteractive(Interactive node) throws Exception JavaDoc {
13         Object JavaDoc ret = unhandled_node(node);
14         traverse(node);
15         return ret;
16     }
17
18     public Object JavaDoc visitExpression(Expression node) throws Exception JavaDoc {
19         Object JavaDoc ret = unhandled_node(node);
20         traverse(node);
21         return ret;
22     }
23
24     public Object JavaDoc visitSuite(Suite node) throws Exception JavaDoc {
25         Object JavaDoc ret = unhandled_node(node);
26         traverse(node);
27         return ret;
28     }
29
30     public Object JavaDoc visitFunctionDef(FunctionDef node) throws Exception JavaDoc {
31         Object JavaDoc ret = unhandled_node(node);
32         traverse(node);
33         return ret;
34     }
35
36     public Object JavaDoc visitClassDef(ClassDef node) throws Exception JavaDoc {
37         Object JavaDoc ret = unhandled_node(node);
38         traverse(node);
39         return ret;
40     }
41
42     public Object JavaDoc visitReturn(Return node) throws Exception JavaDoc {
43         Object JavaDoc ret = unhandled_node(node);
44         traverse(node);
45         return ret;
46     }
47
48     public Object JavaDoc visitYield(Yield node) throws Exception JavaDoc {
49         Object JavaDoc ret = unhandled_node(node);
50         traverse(node);
51         return ret;
52     }
53
54     public Object JavaDoc visitDelete(Delete node) throws Exception JavaDoc {
55         Object JavaDoc ret = unhandled_node(node);
56         traverse(node);
57         return ret;
58     }
59
60     public Object JavaDoc visitAssign(Assign node) throws Exception JavaDoc {
61         Object JavaDoc ret = unhandled_node(node);
62         traverse(node);
63         return ret;
64     }
65
66     public Object JavaDoc visitAugAssign(AugAssign node) throws Exception JavaDoc {
67         Object JavaDoc ret = unhandled_node(node);
68         traverse(node);
69         return ret;
70     }
71
72     public Object JavaDoc visitPrint(Print node) throws Exception JavaDoc {
73         Object JavaDoc ret = unhandled_node(node);
74         traverse(node);
75         return ret;
76     }
77
78     public Object JavaDoc visitFor(For node) throws Exception JavaDoc {
79         Object JavaDoc ret = unhandled_node(node);
80         traverse(node);
81         return ret;
82     }
83
84     public Object JavaDoc visitWhile(While node) throws Exception JavaDoc {
85         Object JavaDoc ret = unhandled_node(node);
86         traverse(node);
87         return ret;
88     }
89
90     public Object JavaDoc visitIf(If node) throws Exception JavaDoc {
91         Object JavaDoc ret = unhandled_node(node);
92         traverse(node);
93         return ret;
94     }
95
96     public Object JavaDoc visitRaise(Raise node) throws Exception JavaDoc {
97         Object JavaDoc ret = unhandled_node(node);
98         traverse(node);
99         return ret;
100     }
101
102     public Object JavaDoc visitTryExcept(TryExcept node) throws Exception JavaDoc {
103         Object JavaDoc ret = unhandled_node(node);
104         traverse(node);
105         return ret;
106     }
107
108     public Object JavaDoc visitTryFinally(TryFinally node) throws Exception JavaDoc {
109         Object JavaDoc ret = unhandled_node(node);
110         traverse(node);
111         return ret;
112     }
113
114     public Object JavaDoc visitAssert(Assert node) throws Exception JavaDoc {
115         Object JavaDoc ret = unhandled_node(node);
116         traverse(node);
117         return ret;
118     }
119
120     public Object JavaDoc visitImport(Import node) throws Exception JavaDoc {
121         Object JavaDoc ret = unhandled_node(node);
122         traverse(node);
123         return ret;
124     }
125
126     public Object JavaDoc visitImportFrom(ImportFrom node) throws Exception JavaDoc {
127         Object JavaDoc ret = unhandled_node(node);
128         traverse(node);
129         return ret;
130     }
131
132     public Object JavaDoc visitExec(Exec node) throws Exception JavaDoc {
133         Object JavaDoc ret = unhandled_node(node);
134         traverse(node);
135         return ret;
136     }
137
138     public Object JavaDoc visitGlobal(Global node) throws Exception JavaDoc {
139         Object JavaDoc ret = unhandled_node(node);
140         traverse(node);
141         return ret;
142     }
143
144     public Object JavaDoc visitExpr(Expr node) throws Exception JavaDoc {
145         Object JavaDoc ret = unhandled_node(node);
146         traverse(node);
147         return ret;
148     }
149
150     public Object JavaDoc visitPass(Pass node) throws Exception JavaDoc {
151         Object JavaDoc ret = unhandled_node(node);
152         traverse(node);
153         return ret;
154     }
155
156     public Object JavaDoc visitBreak(Break node) throws Exception JavaDoc {
157         Object JavaDoc ret = unhandled_node(node);
158         traverse(node);
159         return ret;
160     }
161
162     public Object JavaDoc visitContinue(Continue node) throws Exception JavaDoc {
163         Object JavaDoc ret = unhandled_node(node);
164         traverse(node);
165         return ret;
166     }
167
168     public Object JavaDoc visitBoolOp(BoolOp node) throws Exception JavaDoc {
169         Object JavaDoc ret = unhandled_node(node);
170         traverse(node);
171         return ret;
172     }
173
174     public Object JavaDoc visitBinOp(BinOp node) throws Exception JavaDoc {
175         Object JavaDoc ret = unhandled_node(node);
176         traverse(node);
177         return ret;
178     }
179
180     public Object JavaDoc visitUnaryOp(UnaryOp node) throws Exception JavaDoc {
181         Object JavaDoc ret = unhandled_node(node);
182         traverse(node);
183         return ret;
184     }
185
186     public Object JavaDoc visitLambda(Lambda node) throws Exception JavaDoc {
187         Object JavaDoc ret = unhandled_node(node);
188         traverse(node);
189         return ret;
190     }
191
192     public Object JavaDoc visitDict(Dict node) throws Exception JavaDoc {
193         Object JavaDoc ret = unhandled_node(node);
194         traverse(node);
195         return ret;
196     }
197
198     public Object JavaDoc visitListComp(ListComp node) throws Exception JavaDoc {
199         Object JavaDoc ret = unhandled_node(node);
200         traverse(node);
201         return ret;
202     }
203
204     public Object JavaDoc visitCompare(Compare node) throws Exception JavaDoc {
205         Object JavaDoc ret = unhandled_node(node);
206         traverse(node);
207         return ret;
208     }
209
210     public Object JavaDoc visitCall(Call node) throws Exception JavaDoc {
211         Object JavaDoc ret = unhandled_node(node);
212         traverse(node);
213         return ret;
214     }
215
216     public Object JavaDoc visitRepr(Repr node) throws Exception JavaDoc {
217         Object JavaDoc ret = unhandled_node(node);
218         traverse(node);
219         return ret;
220     }
221
222     public Object JavaDoc visitNum(Num node) throws Exception JavaDoc {
223         Object JavaDoc ret = unhandled_node(node);
224         traverse(node);
225         return ret;
226     }
227
228     public Object JavaDoc visitStr(Str node) throws Exception JavaDoc {
229         Object JavaDoc ret = unhandled_node(node);
230         traverse(node);
231         return ret;
232     }
233
234     public Object JavaDoc visitAttribute(Attribute node) throws Exception JavaDoc {
235         Object JavaDoc ret = unhandled_node(node);
236         traverse(node);
237         return ret;
238     }
239
240     public Object JavaDoc visitSubscript(Subscript node) throws Exception JavaDoc {
241         Object JavaDoc ret = unhandled_node(node);
242         traverse(node);
243         return ret;
244     }
245
246     public Object JavaDoc visitName(Name node) throws Exception JavaDoc {
247         Object JavaDoc ret = unhandled_node(node);
248         traverse(node);
249         return ret;
250     }
251
252     public Object JavaDoc visitList(List node) throws Exception JavaDoc {
253         Object JavaDoc ret = unhandled_node(node);
254         traverse(node);
255         return ret;
256     }
257
258     public Object JavaDoc visitTuple(Tuple node) throws Exception JavaDoc {
259         Object JavaDoc ret = unhandled_node(node);
260         traverse(node);
261         return ret;
262     }
263
264     public Object JavaDoc visitEllipsis(Ellipsis node) throws Exception JavaDoc {
265         Object JavaDoc ret = unhandled_node(node);
266         traverse(node);
267         return ret;
268     }
269
270     public Object JavaDoc visitSlice(Slice node) throws Exception JavaDoc {
271         Object JavaDoc ret = unhandled_node(node);
272         traverse(node);
273         return ret;
274     }
275
276     public Object JavaDoc visitExtSlice(ExtSlice node) throws Exception JavaDoc {
277         Object JavaDoc ret = unhandled_node(node);
278         traverse(node);
279         return ret;
280     }
281
282     public Object JavaDoc visitIndex(Index node) throws Exception JavaDoc {
283         Object JavaDoc ret = unhandled_node(node);
284         traverse(node);
285         return ret;
286     }
287
288     abstract protected Object JavaDoc unhandled_node(SimpleNode node) throws
289     Exception JavaDoc;
290     abstract public void traverse(SimpleNode node) throws Exception JavaDoc;
291 }
292
Popular Tags