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