1/* This file was generated by SableCC (http://www.sablecc.org/). */
2
3package com.google.clearsilver.jsilver.syntax.analysis;
4
5import java.util.*;
6import com.google.clearsilver.jsilver.syntax.node.*;
7
8public class AnalysisAdapter implements Analysis
9{
10    private Hashtable<Node,Object> in;
11    private Hashtable<Node,Object> out;
12
13    public Object getIn(Node node)
14    {
15        if(this.in == null)
16        {
17            return null;
18        }
19
20        return this.in.get(node);
21    }
22
23    public void setIn(Node node, Object o)
24    {
25        if(this.in == null)
26        {
27            this.in = new Hashtable<Node,Object>(1);
28        }
29
30        if(o != null)
31        {
32            this.in.put(node, o);
33        }
34        else
35        {
36            this.in.remove(node);
37        }
38    }
39
40    public Object getOut(Node node)
41    {
42        if(this.out == null)
43        {
44            return null;
45        }
46
47        return this.out.get(node);
48    }
49
50    public void setOut(Node node, Object o)
51    {
52        if(this.out == null)
53        {
54            this.out = new Hashtable<Node,Object>(1);
55        }
56
57        if(o != null)
58        {
59            this.out.put(node, o);
60        }
61        else
62        {
63            this.out.remove(node);
64        }
65    }
66
67    public void caseStart(Start node)
68    {
69        defaultCase(node);
70    }
71
72    public void caseAMultipleCommand(AMultipleCommand node)
73    {
74        defaultCase(node);
75    }
76
77    public void caseACommentCommand(ACommentCommand node)
78    {
79        defaultCase(node);
80    }
81
82    public void caseADataCommand(ADataCommand node)
83    {
84        defaultCase(node);
85    }
86
87    public void caseAVarCommand(AVarCommand node)
88    {
89        defaultCase(node);
90    }
91
92    public void caseALvarCommand(ALvarCommand node)
93    {
94        defaultCase(node);
95    }
96
97    public void caseAEvarCommand(AEvarCommand node)
98    {
99        defaultCase(node);
100    }
101
102    public void caseAUvarCommand(AUvarCommand node)
103    {
104        defaultCase(node);
105    }
106
107    public void caseASetCommand(ASetCommand node)
108    {
109        defaultCase(node);
110    }
111
112    public void caseANameCommand(ANameCommand node)
113    {
114        defaultCase(node);
115    }
116
117    public void caseAEscapeCommand(AEscapeCommand node)
118    {
119        defaultCase(node);
120    }
121
122    public void caseAAutoescapeCommand(AAutoescapeCommand node)
123    {
124        defaultCase(node);
125    }
126
127    public void caseAWithCommand(AWithCommand node)
128    {
129        defaultCase(node);
130    }
131
132    public void caseALoopToCommand(ALoopToCommand node)
133    {
134        defaultCase(node);
135    }
136
137    public void caseALoopCommand(ALoopCommand node)
138    {
139        defaultCase(node);
140    }
141
142    public void caseALoopIncCommand(ALoopIncCommand node)
143    {
144        defaultCase(node);
145    }
146
147    public void caseAEachCommand(AEachCommand node)
148    {
149        defaultCase(node);
150    }
151
152    public void caseADefCommand(ADefCommand node)
153    {
154        defaultCase(node);
155    }
156
157    public void caseACallCommand(ACallCommand node)
158    {
159        defaultCase(node);
160    }
161
162    public void caseAIfCommand(AIfCommand node)
163    {
164        defaultCase(node);
165    }
166
167    public void caseAAltCommand(AAltCommand node)
168    {
169        defaultCase(node);
170    }
171
172    public void caseAIncludeCommand(AIncludeCommand node)
173    {
174        defaultCase(node);
175    }
176
177    public void caseAHardIncludeCommand(AHardIncludeCommand node)
178    {
179        defaultCase(node);
180    }
181
182    public void caseALincludeCommand(ALincludeCommand node)
183    {
184        defaultCase(node);
185    }
186
187    public void caseAHardLincludeCommand(AHardLincludeCommand node)
188    {
189        defaultCase(node);
190    }
191
192    public void caseAContentTypeCommand(AContentTypeCommand node)
193    {
194        defaultCase(node);
195    }
196
197    public void caseAInlineCommand(AInlineCommand node)
198    {
199        defaultCase(node);
200    }
201
202    public void caseANoopCommand(ANoopCommand node)
203    {
204        defaultCase(node);
205    }
206
207    public void caseACsOpenPosition(ACsOpenPosition node)
208    {
209        defaultCase(node);
210    }
211
212    public void caseAStringExpression(AStringExpression node)
213    {
214        defaultCase(node);
215    }
216
217    public void caseANumericExpression(ANumericExpression node)
218    {
219        defaultCase(node);
220    }
221
222    public void caseADecimalExpression(ADecimalExpression node)
223    {
224        defaultCase(node);
225    }
226
227    public void caseAHexExpression(AHexExpression node)
228    {
229        defaultCase(node);
230    }
231
232    public void caseAVariableExpression(AVariableExpression node)
233    {
234        defaultCase(node);
235    }
236
237    public void caseAFunctionExpression(AFunctionExpression node)
238    {
239        defaultCase(node);
240    }
241
242    public void caseASequenceExpression(ASequenceExpression node)
243    {
244        defaultCase(node);
245    }
246
247    public void caseANegativeExpression(ANegativeExpression node)
248    {
249        defaultCase(node);
250    }
251
252    public void caseANotExpression(ANotExpression node)
253    {
254        defaultCase(node);
255    }
256
257    public void caseAExistsExpression(AExistsExpression node)
258    {
259        defaultCase(node);
260    }
261
262    public void caseACommaExpression(ACommaExpression node)
263    {
264        defaultCase(node);
265    }
266
267    public void caseAEqExpression(AEqExpression node)
268    {
269        defaultCase(node);
270    }
271
272    public void caseANumericEqExpression(ANumericEqExpression node)
273    {
274        defaultCase(node);
275    }
276
277    public void caseANeExpression(ANeExpression node)
278    {
279        defaultCase(node);
280    }
281
282    public void caseANumericNeExpression(ANumericNeExpression node)
283    {
284        defaultCase(node);
285    }
286
287    public void caseALtExpression(ALtExpression node)
288    {
289        defaultCase(node);
290    }
291
292    public void caseAGtExpression(AGtExpression node)
293    {
294        defaultCase(node);
295    }
296
297    public void caseALteExpression(ALteExpression node)
298    {
299        defaultCase(node);
300    }
301
302    public void caseAGteExpression(AGteExpression node)
303    {
304        defaultCase(node);
305    }
306
307    public void caseAAndExpression(AAndExpression node)
308    {
309        defaultCase(node);
310    }
311
312    public void caseAOrExpression(AOrExpression node)
313    {
314        defaultCase(node);
315    }
316
317    public void caseAAddExpression(AAddExpression node)
318    {
319        defaultCase(node);
320    }
321
322    public void caseANumericAddExpression(ANumericAddExpression node)
323    {
324        defaultCase(node);
325    }
326
327    public void caseASubtractExpression(ASubtractExpression node)
328    {
329        defaultCase(node);
330    }
331
332    public void caseAMultiplyExpression(AMultiplyExpression node)
333    {
334        defaultCase(node);
335    }
336
337    public void caseADivideExpression(ADivideExpression node)
338    {
339        defaultCase(node);
340    }
341
342    public void caseAModuloExpression(AModuloExpression node)
343    {
344        defaultCase(node);
345    }
346
347    public void caseANoopExpression(ANoopExpression node)
348    {
349        defaultCase(node);
350    }
351
352    public void caseANameVariable(ANameVariable node)
353    {
354        defaultCase(node);
355    }
356
357    public void caseADecNumberVariable(ADecNumberVariable node)
358    {
359        defaultCase(node);
360    }
361
362    public void caseAHexNumberVariable(AHexNumberVariable node)
363    {
364        defaultCase(node);
365    }
366
367    public void caseADescendVariable(ADescendVariable node)
368    {
369        defaultCase(node);
370    }
371
372    public void caseAExpandVariable(AExpandVariable node)
373    {
374        defaultCase(node);
375    }
376
377    public void caseTData(TData node)
378    {
379        defaultCase(node);
380    }
381
382    public void caseTComment(TComment node)
383    {
384        defaultCase(node);
385    }
386
387    public void caseTVar(TVar node)
388    {
389        defaultCase(node);
390    }
391
392    public void caseTLvar(TLvar node)
393    {
394        defaultCase(node);
395    }
396
397    public void caseTEvar(TEvar node)
398    {
399        defaultCase(node);
400    }
401
402    public void caseTUvar(TUvar node)
403    {
404        defaultCase(node);
405    }
406
407    public void caseTSet(TSet node)
408    {
409        defaultCase(node);
410    }
411
412    public void caseTIf(TIf node)
413    {
414        defaultCase(node);
415    }
416
417    public void caseTElseIf(TElseIf node)
418    {
419        defaultCase(node);
420    }
421
422    public void caseTElse(TElse node)
423    {
424        defaultCase(node);
425    }
426
427    public void caseTWith(TWith node)
428    {
429        defaultCase(node);
430    }
431
432    public void caseTEscape(TEscape node)
433    {
434        defaultCase(node);
435    }
436
437    public void caseTAutoescape(TAutoescape node)
438    {
439        defaultCase(node);
440    }
441
442    public void caseTLoop(TLoop node)
443    {
444        defaultCase(node);
445    }
446
447    public void caseTEach(TEach node)
448    {
449        defaultCase(node);
450    }
451
452    public void caseTAlt(TAlt node)
453    {
454        defaultCase(node);
455    }
456
457    public void caseTName(TName node)
458    {
459        defaultCase(node);
460    }
461
462    public void caseTDef(TDef node)
463    {
464        defaultCase(node);
465    }
466
467    public void caseTCall(TCall node)
468    {
469        defaultCase(node);
470    }
471
472    public void caseTInclude(TInclude node)
473    {
474        defaultCase(node);
475    }
476
477    public void caseTLinclude(TLinclude node)
478    {
479        defaultCase(node);
480    }
481
482    public void caseTContentType(TContentType node)
483    {
484        defaultCase(node);
485    }
486
487    public void caseTInline(TInline node)
488    {
489        defaultCase(node);
490    }
491
492    public void caseTComma(TComma node)
493    {
494        defaultCase(node);
495    }
496
497    public void caseTBang(TBang node)
498    {
499        defaultCase(node);
500    }
501
502    public void caseTAssignment(TAssignment node)
503    {
504        defaultCase(node);
505    }
506
507    public void caseTEq(TEq node)
508    {
509        defaultCase(node);
510    }
511
512    public void caseTNe(TNe node)
513    {
514        defaultCase(node);
515    }
516
517    public void caseTLt(TLt node)
518    {
519        defaultCase(node);
520    }
521
522    public void caseTGt(TGt node)
523    {
524        defaultCase(node);
525    }
526
527    public void caseTLte(TLte node)
528    {
529        defaultCase(node);
530    }
531
532    public void caseTGte(TGte node)
533    {
534        defaultCase(node);
535    }
536
537    public void caseTAnd(TAnd node)
538    {
539        defaultCase(node);
540    }
541
542    public void caseTOr(TOr node)
543    {
544        defaultCase(node);
545    }
546
547    public void caseTString(TString node)
548    {
549        defaultCase(node);
550    }
551
552    public void caseTHash(THash node)
553    {
554        defaultCase(node);
555    }
556
557    public void caseTPlus(TPlus node)
558    {
559        defaultCase(node);
560    }
561
562    public void caseTMinus(TMinus node)
563    {
564        defaultCase(node);
565    }
566
567    public void caseTStar(TStar node)
568    {
569        defaultCase(node);
570    }
571
572    public void caseTPercent(TPercent node)
573    {
574        defaultCase(node);
575    }
576
577    public void caseTBracketOpen(TBracketOpen node)
578    {
579        defaultCase(node);
580    }
581
582    public void caseTBracketClose(TBracketClose node)
583    {
584        defaultCase(node);
585    }
586
587    public void caseTParenOpen(TParenOpen node)
588    {
589        defaultCase(node);
590    }
591
592    public void caseTParenClose(TParenClose node)
593    {
594        defaultCase(node);
595    }
596
597    public void caseTDot(TDot node)
598    {
599        defaultCase(node);
600    }
601
602    public void caseTDollar(TDollar node)
603    {
604        defaultCase(node);
605    }
606
607    public void caseTQuestion(TQuestion node)
608    {
609        defaultCase(node);
610    }
611
612    public void caseTDecNumber(TDecNumber node)
613    {
614        defaultCase(node);
615    }
616
617    public void caseTHexNumber(THexNumber node)
618    {
619        defaultCase(node);
620    }
621
622    public void caseTWord(TWord node)
623    {
624        defaultCase(node);
625    }
626
627    public void caseTArgWhitespace(TArgWhitespace node)
628    {
629        defaultCase(node);
630    }
631
632    public void caseTSlash(TSlash node)
633    {
634        defaultCase(node);
635    }
636
637    public void caseTCsOpen(TCsOpen node)
638    {
639        defaultCase(node);
640    }
641
642    public void caseTCommentStart(TCommentStart node)
643    {
644        defaultCase(node);
645    }
646
647    public void caseTCommandDelimiter(TCommandDelimiter node)
648    {
649        defaultCase(node);
650    }
651
652    public void caseTHardDelimiter(THardDelimiter node)
653    {
654        defaultCase(node);
655    }
656
657    public void caseTCsClose(TCsClose node)
658    {
659        defaultCase(node);
660    }
661
662    public void caseEOF(EOF node)
663    {
664        defaultCase(node);
665    }
666
667    public void defaultCase(@SuppressWarnings("unused") Node node)
668    {
669        // do nothing
670    }
671}
672