kmyacc.php.parser 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. $meta #
  3. #semval($) $this->semValue
  4. #semval($,%t) $this->semValue
  5. #semval(%n) $this->stackPos-(%l-%n)
  6. #semval(%n,%t) $this->stackPos-(%l-%n)
  7. namespace PhpParser;
  8. #include;
  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 $invalidSymbol = #(YYBADCH);
  21. protected $errorSymbol = #(YYINTERRTOK);
  22. protected $defaultAction = #(YYDEFAULT);
  23. protected $unexpectedTokenRule = #(YYUNEXPECTED);
  24. protected $YY2TBLSTATE = #(YY2TBLSTATE);
  25. protected $YYNLSTATES = #(YYNLSTATES);
  26. #tokenval
  27. const %s = %n;
  28. #endtokenval
  29. protected $symbolToName = array(
  30. #listvar terminals
  31. );
  32. protected $tokenToSymbol = array(
  33. #listvar yytranslate
  34. );
  35. protected $action = array(
  36. #listvar yyaction
  37. );
  38. protected $actionCheck = array(
  39. #listvar yycheck
  40. );
  41. protected $actionBase = array(
  42. #listvar yybase
  43. );
  44. protected $actionDefault = array(
  45. #listvar yydefault
  46. );
  47. protected $goto = array(
  48. #listvar yygoto
  49. );
  50. protected $gotoCheck = array(
  51. #listvar yygcheck
  52. );
  53. protected $gotoBase = array(
  54. #listvar yygbase
  55. );
  56. protected $gotoDefault = array(
  57. #listvar yygdefault
  58. );
  59. protected $ruleToNonTerminal = array(
  60. #listvar yylhs
  61. );
  62. protected $ruleToLength = array(
  63. #listvar yylen
  64. );
  65. #if -t
  66. protected $productions = array(
  67. #production-strings;
  68. );
  69. #endif
  70. #reduce
  71. protected function reduceRule%n() {
  72. %b
  73. }
  74. #noact
  75. protected function reduceRule%n() {
  76. $this->semValue = $this->semStack[$this->stackPos];
  77. }
  78. #endreduce
  79. }
  80. #tailcode;