KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > xquark > xquery > parser > DefaultParserVisitor


1 /*
2  * This file belongs to the XQuark distribution.
3  * Copyright (C) 2003 Universite de Versailles Saint-Quentin.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307.
18  * You can also get it at http://www.gnu.org/licenses/lgpl.html
19  *
20  * For more information on this software, see http://www.xquark.org.
21  */

22
23
24 package org.xquark.xquery.parser;
25
26 import org.xquark.xquery.parser.primitivefunctions.fnfunctions.*;
27 import org.xquark.xquery.parser.primitivefunctions.xsfunctions.*;
28
29 public class DefaultParserVisitor implements ParserVisitor {
30     
31     private static final String JavaDoc RCSRevision = "$Revision: 1.19 $";
32     private static final String JavaDoc RCSName = "$Name: $";
33     
34     public void visit(AggregateFunctionCall arg) throws XQueryException {
35         visit((PrimitiveFunctionCall)arg); }
36     
37     public void visit(AttributeValuePair arg) throws XQueryException {
38         visit((XQueryBinaryOperatorExpression)arg); }
39     
40     public void visit(BinOpANDExpression arg) throws XQueryException {
41         visit((XQueryBooleanOperatorExpression)arg); }
42     
43     public void visit(BinOpORExpression arg) throws XQueryException {
44         visit((XQueryBooleanOperatorExpression)arg); }
45     
46     public void visit(CaseClauseExpression arg) throws XQueryException {
47         visit((XQueryExpression)arg); }
48
49     public void visit(CastTreatExpression arg) throws XQueryException {
50         visit((XQueryUnaryOperatorExpression)arg); }
51     
52     public void visit(CData arg) throws XQueryException {
53         visit((XQueryExpression)arg); }
54     
55     public void visit(Document arg) throws XQueryException {
56         visit((XQueryUnaryOperatorExpression)arg); }
57
58     public void visit(Element arg) throws XQueryException {
59         visit((XQueryExpression)arg); }
60     
61     public void visit(ExternalVariable arg) throws XQueryException {
62         visit((Value)arg); }
63
64     public void visit(FLWRExpression arg) throws XQueryException {
65         visit((XQueryExpression)arg); }
66     
67     public void visit(FunctionCall arg) throws XQueryException {
68         visit((XQueryExpression)arg); }
69     
70     public void visit(FunctionDeclaration arg) throws XQueryException {
71         visit((XQueryExpression)arg); }
72         
73     public void visit(InstanceOfExpression arg) throws XQueryException {
74         visit((XQueryUnaryOperatorExpression)arg); }
75     
76     public void visit(InternalFunctionCall arg) throws XQueryException {
77         visit((FunctionCall)arg); }
78     
79     public void visit(ITEExpression arg) throws XQueryException {
80         visit((XQueryExpression)arg); }
81     
82     public void visit(ItemType arg) throws XQueryException {
83         visit((XQueryExpression)arg); }
84     
85     public void visit(LibraryFunctionCall arg) throws XQueryException {
86         visit((FunctionCall)arg); }
87     
88     public void visit(ListOpAFTERExpression arg) throws XQueryException {
89         visit((XQueryListBinaryOperatorExpression)arg); }
90     
91     public void visit(ListOpArithExpression arg) throws XQueryException {
92         visit((XQueryListBinaryOperatorExpression)arg); }
93     
94     public void visit(ListOpBEFOREExpression arg) throws XQueryException {
95         visit((XQueryListBinaryOperatorExpression)arg); }
96     
97     public void visit(ListOpCompExpression arg) throws XQueryException {
98         visit((XQueryListBinaryOperatorExpression)arg); }
99     
100     public void visit(ListOpEXCEPTExpression arg) throws XQueryException {
101         visit((XQueryListBinaryOperatorExpression)arg); }
102     
103     public void visit(ListOpINTERSECTExpression arg) throws XQueryException {
104         visit((XQueryListBinaryOperatorExpression)arg); }
105     
106     public void visit(ListOpUNIONExpression arg) throws XQueryException {
107         visit((XQueryListBinaryOperatorExpression)arg); }
108     
109     public void visit(LocatedExpression arg) throws XQueryException {
110         visit((XQueryExpression)arg); }
111     
112     public void visit(ElementTest arg) throws XQueryException {
113        visit((XQueryExpression)arg); }
114     
115     public void visit(AttributeTest arg) throws XQueryException {
116         visit((XQueryExpression)arg); }
117     
118    public void visit(NodeTest arg) throws XQueryException {
119         visit((XQueryExpression)arg); }
120     
121     public void visit(PrimitiveFunctionCall arg) throws XQueryException {
122         visit((FunctionCall)arg); }
123     
124     public void visit(QName arg) throws XQueryException {
125         visit((XQueryExpression)arg); }
126     
127     public void visit(QuantifiedExpression arg) throws XQueryException {
128         visit((XQueryListUnaryOperatorExpression)arg); }
129     
130     public void visit(RangeExpression arg) throws XQueryException {
131         visit((XQueryListBinaryOperatorExpression)arg); }
132     
133     public void visit(InputFunctionCall arg) throws XQueryException {
134         visit((PrimitiveFunctionCall)arg); }
135     
136     public void visit(SchemaContextPath arg) throws XQueryException {
137         visit((XQueryExpression)arg); }
138
139     public void visit(SchemaContextStep arg) throws XQueryException {
140         visit((XQueryUnaryOperatorExpression)arg); }
141
142     public void visit(SequenceType arg) throws XQueryException {
143         visit((XQueryExpression)arg); }
144
145     public void visit(SortedExpression arg) throws XQueryException {
146         visit((XQueryListUnaryOperatorExpression)arg); }
147     
148     public void visit(Step arg) throws XQueryException {
149         visit((XQueryUnaryOperatorExpression)arg); }
150     
151     public void visit(TypeSwitchExpression arg) throws XQueryException {
152         visit((XQueryBinaryOperatorExpression)arg); }
153     
154     public void visit(UnOpMinusExpression arg) throws XQueryException {
155         visit((XQueryUnaryOperatorExpression)arg); }
156     
157     public void visit(ValidateExpression arg) throws XQueryException {
158         visit((XQueryUnaryOperatorExpression)arg); }
159
160     public void visit(Value arg) throws XQueryException {
161         visit((XQueryExpression)arg); }
162     
163     public void visit(ValueBoolean arg) throws XQueryException {
164         visit((Value)arg); }
165     
166     public void visit(ValueDecimal arg) throws XQueryException {
167         visit((Value)arg); }
168     
169     public void visit(ValueDouble arg) throws XQueryException {
170         visit((Value)arg); }
171     
172     public void visit(ValueFloat arg) throws XQueryException {
173             visit((Value)arg); }
174     
175     public void visit(ValueInteger arg) throws XQueryException {
176         visit((Value)arg); }
177     
178     public void visit(ValueString arg) throws XQueryException {
179         visit((Value)arg); }
180     
181     public void visit(ValueText arg) throws XQueryException {
182         visit((Value)arg); }
183     
184     public void visit(Variable arg) throws XQueryException {
185         visit((XQueryExpression)arg); }
186     
187     public void visit(XQueryBinaryOperatorExpression arg) throws XQueryException {
188         visit((XQueryExpression)arg); }
189     
190     public void visit(XMLComment arg) throws XQueryException {
191         visit((XQueryUnaryOperatorExpression)arg); }
192     
193     public void visit(ComputedText arg) throws XQueryException {
194         visit((XQueryUnaryOperatorExpression)arg); }
195
196     public void visit(ComputedNamespace arg) throws XQueryException {
197         visit((XQueryUnaryOperatorExpression)arg); }
198
199     public void visit(XMLProcessingInstruction arg) throws XQueryException {
200         visit((XQueryBinaryOperatorExpression)arg); }
201     
202     public void visit(XQueryBooleanOperatorExpression arg) throws XQueryException {
203         visit((XQueryBinaryOperatorExpression)arg); }
204     
205     public void visit(XQueryExpression arg) throws XQueryException { }
206     
207     public void visit(XQueryExpressionSequence arg) throws XQueryException {
208         visit((XQueryExpression)arg); }
209         
210     public void visit(XQueryListBinaryOperatorExpression arg) throws XQueryException {
211         visit((XQueryBinaryOperatorExpression)arg); }
212     
213     public void visit(XQueryListUnaryOperatorExpression arg) throws XQueryException {
214         visit((XQueryUnaryOperatorExpression)arg); }
215     
216     public void visit(XQueryUnaryOperatorExpression arg) throws XQueryException {
217         visit((XQueryExpression)arg); }
218     
219     public void visit(XQueryModule arg) throws XQueryException {
220         /*visit((XQueryUnit)arg);*/ }
221     
222     public void visit(XQueryVoid arg) throws XQueryException {
223         visit((XQueryExpression)arg); }
224     
225     // primitive functions
226

227     public void visit(FunctionABS arg) throws XQueryException {
228         visit((PrimitiveFunctionCall)arg); }
229     
230     public void visit(FunctionAVG arg) throws XQueryException {
231         visit((AggregateFunctionCall)arg); }
232     
233     public void visit(FunctionCEILING arg) throws XQueryException {
234         visit((PrimitiveFunctionCall)arg); }
235     
236     public void visit(FunctionCOLLECTION arg) throws XQueryException {
237         visit((InputFunctionCall)arg); }
238     
239     public void visit(FunctionCONCAT arg) throws XQueryException {
240         visit((PrimitiveFunctionCall)arg); }
241     
242     public void visit(FunctionCONTAINS arg) throws XQueryException {
243         visit((PrimitiveFunctionCall)arg); }
244     
245     public void visit(FunctionCOUNT arg) throws XQueryException {
246         visit((AggregateFunctionCall)arg); }
247     
248     public void visit(FunctionCURRENT_DATE arg) throws XQueryException {
249         visit((PrimitiveFunctionCall)arg); }
250
251     public void visit(FunctionCURRENT_DATETIME arg) throws XQueryException {
252         visit((PrimitiveFunctionCall)arg); }
253
254     public void visit(FunctionCURRENT_TIME arg) throws XQueryException {
255         visit((PrimitiveFunctionCall)arg); }
256     
257     public void visit(FunctionDATA arg) throws XQueryException {
258         visit((PrimitiveFunctionCall)arg); }
259     
260     public void visit(FunctionDATE arg) throws XQueryException {
261         visit((PrimitiveFunctionCall)arg); }
262     
263     public void visit(FunctionDATETIME arg) throws XQueryException {
264         visit((PrimitiveFunctionCall)arg); }
265     
266     public void visit(FunctionDECIMAL arg) throws XQueryException {
267         visit((PrimitiveFunctionCall)arg); }
268     
269     public void visit(FunctionDISTINCT_VALUES arg) throws XQueryException {
270         visit((PrimitiveFunctionCall)arg); }
271     
272     public void visit(FunctionDOC arg) throws XQueryException {
273         visit((InputFunctionCall)arg); }
274
275     public void visit(FunctionDOUBLE arg) throws XQueryException {
276         visit((PrimitiveFunctionCall)arg); }
277     
278     public void visit(FunctionEMPTY arg) throws XQueryException {
279         visit((PrimitiveFunctionCall)arg); }
280     
281     public void visit(FunctionENDS_WITH arg) throws XQueryException {
282         visit((PrimitiveFunctionCall)arg); }
283     
284     public void visit(FunctionEXPANDED_QNAME arg) throws XQueryException {
285         visit((PrimitiveFunctionCall)arg); }
286
287     public void visit(FunctionEXISTS arg) throws XQueryException {
288         visit((PrimitiveFunctionCall)arg); }
289     
290     public void visit(FunctionFALSE arg) throws XQueryException {
291         visit((PrimitiveFunctionCall)arg); }
292     
293     public void visit(FunctionFLOOR arg) throws XQueryException {
294         visit((PrimitiveFunctionCall)arg); }
295     
296     public void visit(FunctionGET_MONTH_FROM_DATE arg) throws XQueryException {
297         visit((PrimitiveFunctionCall)arg); }
298
299     public void visit(FunctionGET_YEAR_FROM_DATE arg) throws XQueryException {
300         visit((PrimitiveFunctionCall)arg); }
301
302     public void visit(FunctionINPUT arg) throws XQueryException {
303         visit((FunctionCOLLECTION)arg); }
304     
305     public void visit(FunctionINTEGER arg) throws XQueryException {
306         visit((PrimitiveFunctionCall)arg); }
307     
308     public void visit(FunctionLOCAL_NAME arg) throws XQueryException {
309         visit((PrimitiveFunctionCall)arg); }
310
311     public void visit(FunctionLOWER_CASE arg) throws XQueryException {
312         visit((PrimitiveFunctionCall)arg); }
313     
314     public void visit(FunctionMATCHES arg) throws XQueryException {
315         visit((PrimitiveFunctionCall)arg); }
316     
317     public void visit(FunctionMAX arg) throws XQueryException {
318         visit((AggregateFunctionCall)arg); }
319     
320     public void visit(FunctionMIN arg) throws XQueryException {
321         visit((AggregateFunctionCall)arg); }
322     
323     public void visit(FunctionNAMESPACE_URI arg) throws XQueryException {
324         visit((PrimitiveFunctionCall)arg); }
325
326     public void visit(FunctionNOT arg) throws XQueryException {
327         visit((PrimitiveFunctionCall)arg); }
328     
329     public void visit(FunctionNUMBER arg) throws XQueryException {
330         visit((PrimitiveFunctionCall)arg); }
331         
332     public void visit(FunctionQNAME arg) throws XQueryException {
333         visit((PrimitiveFunctionCall)arg); }
334
335     public void visit(FunctionSTARTS_WITH arg) throws XQueryException {
336         visit((PrimitiveFunctionCall)arg); }
337     
338     public void visit(FunctionSTRING arg) throws XQueryException {
339         visit((PrimitiveFunctionCall)arg); }
340     
341     public void visit(FunctionSTRING_LENGTH arg) throws XQueryException {
342         visit((PrimitiveFunctionCall)arg); }
343     
344     public void visit(FunctionROUND arg) throws XQueryException {
345         visit((PrimitiveFunctionCall)arg); }
346     
347     public void visit(FunctionSUBSTRING arg) throws XQueryException {
348         visit((PrimitiveFunctionCall)arg); }
349     
350     public void visit(FunctionSUM arg) throws XQueryException {
351         visit((AggregateFunctionCall)arg); }
352     
353     public void visit(FunctionTIME arg) throws XQueryException {
354         visit((PrimitiveFunctionCall)arg); }
355     
356     public void visit(FunctionTRUE arg) throws XQueryException {
357         visit((PrimitiveFunctionCall)arg); }
358     
359     public void visit(FunctionUPPER_CASE arg) throws XQueryException {
360         visit((PrimitiveFunctionCall)arg); }
361
362     public void visit(FunctionDEEP_EQUALS arg) throws XQueryException {
363         visit((PrimitiveFunctionCall)arg); }
364 }
365
Popular Tags