No Description

kmyacc.php.parser 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?php
  2. $meta #
  3. #semval($) $this->semValue
  4. #semval($,%t) $this->semValue
  5. #semval(%n) $this->semStack[$this->stackPos-(%l-%n)]
  6. #semval(%n,%t) $this->semStack[$this->stackPos-(%l-%n)]
  7. #include;
  8. namespace PhpParser;
  9. /* This is an automatically GENERATED file, which should not be manually edited.
  10. * Instead edit one of the following:
  11. * * the grammar file grammar/zend_language_parser.phpy
  12. * * the skeleton file grammar/kymacc.php.parser
  13. * * the preprocessing script grammar/rebuildParser.php
  14. */
  15. class Parser extends ParserAbstract
  16. {
  17. protected $tokenToSymbolMapSize = #(YYMAXLEX);
  18. protected $actionTableSize = #(YYLAST);
  19. protected $gotoTableSize = #(YYGLAST);
  20. protected $invalidToken = #(YYBADCH);
  21. protected $defaultAction = #(YYDEFAULT);
  22. protected $unexpectedTokenRule = #(YYUNEXPECTED);
  23. protected $YY2TBLSTATE = #(YY2TBLSTATE);
  24. protected $YYNLSTATES = #(YYNLSTATES);
  25. #tokenval
  26. const %s = %n;
  27. #endtokenval
  28. protected $symbolToName = array(
  29. #listvar terminals
  30. );
  31. protected $tokenToSymbol = array(
  32. #listvar yytranslate
  33. );
  34. protected $action = array(
  35. #listvar yyaction
  36. );
  37. protected $actionCheck = array(
  38. #listvar yycheck
  39. );
  40. protected $actionBase = array(
  41. #listvar yybase
  42. );
  43. protected $actionDefault = array(
  44. #listvar yydefault
  45. );
  46. protected $goto = array(
  47. #listvar yygoto
  48. );
  49. protected $gotoCheck = array(
  50. #listvar yygcheck
  51. );
  52. protected $gotoBase = array(
  53. #listvar yygbase
  54. );
  55. protected $gotoDefault = array(
  56. #listvar yygdefault
  57. );
  58. protected $ruleToNonTerminal = array(
  59. #listvar yylhs
  60. );
  61. protected $ruleToLength = array(
  62. #listvar yylen
  63. );
  64. #if -t
  65. protected $productions = array(
  66. #production-strings;
  67. );
  68. #endif
  69. #reduce
  70. protected function reduceRule%n($attributes) {
  71. %b
  72. }
  73. #noact
  74. protected function reduceRule%n() {
  75. $this->semValue = $this->semStack[$this->stackPos];
  76. }
  77. #endreduce
  78. }
  79. #tailcode;