tars.tab.hpp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /* A Bison parser, made by GNU Bison 3.7.5. */
  2. /* Bison interface for Yacc-like parsers in C
  3. Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
  4. Inc.
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  15. /* As a special exception, you may create a larger work that contains
  16. part or all of the Bison parser skeleton and distribute that work
  17. under terms of your choice, so long as that work isn't itself a
  18. parser generator using the skeleton or a modified version thereof
  19. as a parser skeleton. Alternatively, if you modify or redistribute
  20. the parser skeleton itself, you may (at your option) remove this
  21. special exception, which will cause the skeleton and the resulting
  22. Bison output files to be licensed under the GNU General Public
  23. License without this special exception.
  24. This special exception was added by the Free Software Foundation in
  25. version 2.2 of Bison. */
  26. /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
  27. especially those whose name start with YY_ or yy_. They are
  28. private implementation details that can be changed or removed. */
  29. #ifndef YY_YY_TARS_TAB_HPP_INCLUDED
  30. # define YY_YY_TARS_TAB_HPP_INCLUDED
  31. /* Debug traces. */
  32. #ifndef YYDEBUG
  33. # define YYDEBUG 1
  34. #endif
  35. #if YYDEBUG
  36. extern int yydebug;
  37. #endif
  38. /* Token kinds. */
  39. #ifndef YYTOKENTYPE
  40. # define YYTOKENTYPE
  41. enum yytokentype
  42. {
  43. YYEMPTY = -2,
  44. YYEOF = 0, /* "end of file" */
  45. YYerror = 256, /* error */
  46. YYUNDEF = 257, /* "invalid token" */
  47. TARS_VOID = 258, /* TARS_VOID */
  48. TARS_STRUCT = 259, /* TARS_STRUCT */
  49. TARS_BOOL = 260, /* TARS_BOOL */
  50. TARS_BYTE = 261, /* TARS_BYTE */
  51. TARS_SHORT = 262, /* TARS_SHORT */
  52. TARS_INT = 263, /* TARS_INT */
  53. TARS_DOUBLE = 264, /* TARS_DOUBLE */
  54. TARS_FLOAT = 265, /* TARS_FLOAT */
  55. TARS_LONG = 266, /* TARS_LONG */
  56. TARS_STRING = 267, /* TARS_STRING */
  57. TARS_VECTOR = 268, /* TARS_VECTOR */
  58. TARS_MAP = 269, /* TARS_MAP */
  59. TARS_NAMESPACE = 270, /* TARS_NAMESPACE */
  60. TARS_INTERFACE = 271, /* TARS_INTERFACE */
  61. TARS_IDENTIFIER = 272, /* TARS_IDENTIFIER */
  62. TARS_OUT = 273, /* TARS_OUT */
  63. TARS_OP = 274, /* TARS_OP */
  64. TARS_KEY = 275, /* TARS_KEY */
  65. TARS_ROUTE_KEY = 276, /* TARS_ROUTE_KEY */
  66. TARS_REQUIRE = 277, /* TARS_REQUIRE */
  67. TARS_OPTIONAL = 278, /* TARS_OPTIONAL */
  68. TARS_CONST_INTEGER = 279, /* TARS_CONST_INTEGER */
  69. TARS_CONST_FLOAT = 280, /* TARS_CONST_FLOAT */
  70. TARS_FALSE = 281, /* TARS_FALSE */
  71. TARS_TRUE = 282, /* TARS_TRUE */
  72. TARS_STRING_LITERAL = 283, /* TARS_STRING_LITERAL */
  73. TARS_SCOPE_DELIMITER = 284, /* TARS_SCOPE_DELIMITER */
  74. TARS_CONST = 285, /* TARS_CONST */
  75. TARS_ENUM = 286, /* TARS_ENUM */
  76. TARS_UNSIGNED = 287, /* TARS_UNSIGNED */
  77. BAD_CHAR = 288 /* BAD_CHAR */
  78. };
  79. typedef enum yytokentype yytoken_kind_t;
  80. #endif
  81. /* Value type. */
  82. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  83. typedef int YYSTYPE;
  84. # define YYSTYPE_IS_TRIVIAL 1
  85. # define YYSTYPE_IS_DECLARED 1
  86. #endif
  87. extern YYSTYPE yylval;
  88. int yyparse (void);
  89. #endif /* !YY_YY_TARS_TAB_HPP_INCLUDED */