tars.tab.hpp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /* A Bison parser, made by GNU Bison 2.3. */
  2. /* Skeleton interface for Bison's Yacc-like parsers in C
  3. Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
  4. Free Software Foundation, 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 2, or (at your option)
  8. 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, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street, Fifth Floor,
  16. Boston, MA 02110-1301, USA. */
  17. /* As a special exception, you may create a larger work that contains
  18. part or all of the Bison parser skeleton and distribute that work
  19. under terms of your choice, so long as that work isn't itself a
  20. parser generator using the skeleton or a modified version thereof
  21. as a parser skeleton. Alternatively, if you modify or redistribute
  22. the parser skeleton itself, you may (at your option) remove this
  23. special exception, which will cause the skeleton and the resulting
  24. Bison output files to be licensed under the GNU General Public
  25. License without this special exception.
  26. This special exception was added by the Free Software Foundation in
  27. version 2.2 of Bison. */
  28. /* Tokens. */
  29. #ifndef YYTOKENTYPE
  30. # define YYTOKENTYPE
  31. /* Put the tokens into the symbol table, so that GDB and other debuggers
  32. know about them. */
  33. enum yytokentype {
  34. TARS_VOID = 258,
  35. TARS_STRUCT = 259,
  36. TARS_BOOL = 260,
  37. TARS_BYTE = 261,
  38. TARS_SHORT = 262,
  39. TARS_INT = 263,
  40. TARS_DOUBLE = 264,
  41. TARS_FLOAT = 265,
  42. TARS_LONG = 266,
  43. TARS_STRING = 267,
  44. TARS_VECTOR = 268,
  45. TARS_MAP = 269,
  46. TARS_NAMESPACE = 270,
  47. TARS_INTERFACE = 271,
  48. TARS_IDENTIFIER = 272,
  49. TARS_OUT = 273,
  50. TARS_OP = 274,
  51. TARS_KEY = 275,
  52. TARS_ROUTE_KEY = 276,
  53. TARS_REQUIRE = 277,
  54. TARS_OPTIONAL = 278,
  55. TARS_CONST_INTEGER = 279,
  56. TARS_CONST_FLOAT = 280,
  57. TARS_FALSE = 281,
  58. TARS_TRUE = 282,
  59. TARS_STRING_LITERAL = 283,
  60. TARS_SCOPE_DELIMITER = 284,
  61. TARS_CONST = 285,
  62. TARS_ENUM = 286,
  63. TARS_UNSIGNED = 287,
  64. BAD_CHAR = 288
  65. };
  66. #endif
  67. /* Tokens. */
  68. #define TARS_VOID 258
  69. #define TARS_STRUCT 259
  70. #define TARS_BOOL 260
  71. #define TARS_BYTE 261
  72. #define TARS_SHORT 262
  73. #define TARS_INT 263
  74. #define TARS_DOUBLE 264
  75. #define TARS_FLOAT 265
  76. #define TARS_LONG 266
  77. #define TARS_STRING 267
  78. #define TARS_VECTOR 268
  79. #define TARS_MAP 269
  80. #define TARS_NAMESPACE 270
  81. #define TARS_INTERFACE 271
  82. #define TARS_IDENTIFIER 272
  83. #define TARS_OUT 273
  84. #define TARS_OP 274
  85. #define TARS_KEY 275
  86. #define TARS_ROUTE_KEY 276
  87. #define TARS_REQUIRE 277
  88. #define TARS_OPTIONAL 278
  89. #define TARS_CONST_INTEGER 279
  90. #define TARS_CONST_FLOAT 280
  91. #define TARS_FALSE 281
  92. #define TARS_TRUE 282
  93. #define TARS_STRING_LITERAL 283
  94. #define TARS_SCOPE_DELIMITER 284
  95. #define TARS_CONST 285
  96. #define TARS_ENUM 286
  97. #define TARS_UNSIGNED 287
  98. #define BAD_CHAR 288
  99. #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
  100. typedef int YYSTYPE;
  101. # define yystype YYSTYPE /* obsolescent; will be withdrawn */
  102. # define YYSTYPE_IS_DECLARED 1
  103. # define YYSTYPE_IS_TRIVIAL 1
  104. #endif
  105. extern YYSTYPE yylval;