cprover
xml_y.tab.cpp File Reference
#include <cstring>
#include "xml_parser.h"
#include <stddef.h>
Include dependency graph for xml_y.tab.cpp:

Go to the source code of this file.

Classes

union  YYSTYPE
 
union  yyalloc
 

Macros

#define YYBISON   1
 
#define YYBISON_VERSION   "3.0.4"
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYPURE   0
 
#define YYPUSH   0
 
#define YYPULL   1
 
#define yyparse   yyxmlparse
 
#define yylex   yyxmllex
 
#define yyerror   yyxmlerror
 
#define yydebug   yyxmldebug
 
#define yynerrs   yyxmlnerrs
 
#define yylval   yyxmllval
 
#define yychar   yyxmlchar
 
#define YY_NULLPTR   0
 
#define YYERROR_VERBOSE   1
 
#define YY_YYXML_XML_Y_TAB_HPP_INCLUDED
 
#define YYDEBUG   0
 
#define YYTOKENTYPE
 
#define STARTXMLDECL   258
 
#define VERSION   259
 
#define STARTPI   260
 
#define ENDPI   261
 
#define EQ   262
 
#define SLASH   263
 
#define CLOSE   264
 
#define END   265
 
#define ENCODING   266
 
#define NAME   267
 
#define VALUE   268
 
#define DATA   269
 
#define COMMENT   270
 
#define START   271
 
#define YYSTYPE_IS_TRIVIAL   1
 
#define YYSTYPE_IS_DECLARED   1
 
#define YYSIZE_T   size_t
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
 
#define YY_(Msgid)   Msgid
 
#define YY_ATTRIBUTE(Spec)   /* empty */
 
#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
 
#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))
 
#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))
 
#define YYUSE(E)   ((void) (E))
 
#define YY_INITIAL_VALUE(Value)   Value
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYMALLOC   malloc
 
#define YYFREE   free
 
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
 
#define YYSTACK_BYTES(N)
 
#define YYCOPY_NEEDED   1
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYFINAL   6
 
#define YYLAST   25
 
#define YYNTOKENS   17
 
#define YYNNTS   20
 
#define YYNRULES   29
 
#define YYNSTATES   43
 
#define YYUNDEFTOK   2
 
#define YYMAXUTOK   271
 
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYPACT_NINF   -13
 
#define yypact_value_is_default(Yystate)   (!!((Yystate) == (-13)))
 
#define YYTABLE_NINF   -1
 
#define yytable_value_is_error(Yytable_value)   0
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYEMPTY   (-2)
 
#define YYEOF   0
 
#define YYACCEPT   goto yyacceptlab
 
#define YYABORT   goto yyabortlab
 
#define YYERROR   goto yyerrorlab
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYBACKUP(Token, Value)
 
#define YYTERROR   1
 
#define YYERRCODE   256
 
#define YYDPRINTF(Args)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_REDUCE_PRINT(Rule)
 
#define YYINITDEPTH   200
 
#define YYMAXDEPTH   10000
 
#define YYCASE_(N, S)
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 
#define YYSYNTAX_ERROR
 

Typedefs

typedef union YYSTYPE YYSTYPE
 
typedef unsigned char yytype_uint8
 
typedef signed char yytype_int8
 
typedef unsigned short int yytype_uint16
 
typedef short int yytype_int16
 

Enumerations

enum  yytokentype {
  TOK_AUTO = 258, TOK_BOOL = 259, TOK_COMPLEX = 260, TOK_BREAK = 261,
  TOK_CASE = 262, TOK_CHAR = 263, TOK_CONST = 264, TOK_CONTINUE = 265,
  TOK_DEFAULT = 266, TOK_DO = 267, TOK_DOUBLE = 268, TOK_ELSE = 269,
  TOK_ENUM = 270, TOK_EXTERN = 271, TOK_FLOAT = 272, TOK_FOR = 273,
  TOK_GOTO = 274, TOK_IF = 275, TOK_INLINE = 276, TOK_INT = 277,
  TOK_LONG = 278, TOK_REGISTER = 279, TOK_RESTRICT = 280, TOK_RETURN = 281,
  TOK_SHORT = 282, TOK_SIGNED = 283, TOK_SIZEOF = 284, TOK_STATIC = 285,
  TOK_STRUCT = 286, TOK_SWITCH = 287, TOK_TYPEDEF = 288, TOK_UNION = 289,
  TOK_UNSIGNED = 290, TOK_VOID = 291, TOK_VOLATILE = 292, TOK_WCHAR_T = 293,
  TOK_WHILE = 294, TOK_ARROW = 295, TOK_INCR = 296, TOK_DECR = 297,
  TOK_SHIFTLEFT = 298, TOK_SHIFTRIGHT = 299, TOK_LE = 300, TOK_GE = 301,
  TOK_EQ = 302, TOK_NE = 303, TOK_ANDAND = 304, TOK_OROR = 305,
  TOK_ELLIPSIS = 306, TOK_MULTASSIGN = 307, TOK_DIVASSIGN = 308, TOK_MODASSIGN = 309,
  TOK_PLUSASSIGN = 310, TOK_MINUSASSIGN = 311, TOK_SHLASSIGN = 312, TOK_SHRASSIGN = 313,
  TOK_ANDASSIGN = 314, TOK_XORASSIGN = 315, TOK_ORASSIGN = 316, TOK_IDENTIFIER = 317,
  TOK_TYPEDEFNAME = 318, TOK_INTEGER = 319, TOK_FLOATING = 320, TOK_CHARACTER = 321,
  TOK_STRING = 322, TOK_ASM_STRING = 323, TOK_INT8 = 324, TOK_INT16 = 325,
  TOK_INT32 = 326, TOK_INT64 = 327, TOK_PTR32 = 328, TOK_PTR64 = 329,
  TOK_TYPEOF = 330, TOK_GCC_AUTO_TYPE = 331, TOK_GCC_FLOAT80 = 332, TOK_GCC_FLOAT128 = 333,
  TOK_GCC_FLOAT128_ALT = 334, TOK_GCC_INT128 = 335, TOK_GCC_DECIMAL32 = 336, TOK_GCC_DECIMAL64 = 337,
  TOK_GCC_DECIMAL128 = 338, TOK_GCC_ASM = 339, TOK_GCC_ASM_PAREN = 340, TOK_GCC_ATTRIBUTE = 341,
  TOK_GCC_ATTRIBUTE_ALIGNED = 342, TOK_GCC_ATTRIBUTE_TRANSPARENT_UNION = 343, TOK_GCC_ATTRIBUTE_PACKED = 344, TOK_GCC_ATTRIBUTE_VECTOR_SIZE = 345,
  TOK_GCC_ATTRIBUTE_MODE = 346, TOK_GCC_ATTRIBUTE_GNU_INLINE = 347, TOK_GCC_ATTRIBUTE_WEAK = 348, TOK_GCC_ATTRIBUTE_ALIAS = 349,
  TOK_GCC_ATTRIBUTE_SECTION = 350, TOK_GCC_ATTRIBUTE_NORETURN = 351, TOK_GCC_ATTRIBUTE_CONSTRUCTOR = 352, TOK_GCC_ATTRIBUTE_DESTRUCTOR = 353,
  TOK_GCC_LABEL = 354, TOK_MSC_ASM = 355, TOK_MSC_BASED = 356, TOK_CW_VAR_ARG_TYPEOF = 357,
  TOK_BUILTIN_VA_ARG = 358, TOK_GCC_BUILTIN_TYPES_COMPATIBLE_P = 359, TOK_CLANG_BUILTIN_CONVERTVECTOR = 360, TOK_OFFSETOF = 361,
  TOK_ALIGNOF = 362, TOK_MSC_TRY = 363, TOK_MSC_FINALLY = 364, TOK_MSC_EXCEPT = 365,
  TOK_MSC_LEAVE = 366, TOK_MSC_DECLSPEC = 367, TOK_INTERFACE = 368, TOK_CDECL = 369,
  TOK_STDCALL = 370, TOK_FASTCALL = 371, TOK_CLRCALL = 372, TOK_FORALL = 373,
  TOK_EXISTS = 374, TOK_ACSL_FORALL = 375, TOK_ACSL_EXISTS = 376, TOK_ARRAY_OF = 377,
  TOK_CPROVER_BITVECTOR = 378, TOK_CPROVER_FLOATBV = 379, TOK_CPROVER_FIXEDBV = 380, TOK_CPROVER_ATOMIC = 381,
  TOK_CPROVER_BOOL = 382, TOK_CPROVER_THROW = 383, TOK_CPROVER_CATCH = 384, TOK_CPROVER_TRY = 385,
  TOK_CPROVER_FINALLY = 386, TOK_CPROVER_ID = 387, TOK_CPROVER_LOOP_INVARIANT = 388, TOK_CPROVER_REQUIRES = 389,
  TOK_CPROVER_ENSURES = 390, TOK_IMPLIES = 391, TOK_EQUIVALENT = 392, TOK_TRUE = 393,
  TOK_FALSE = 394, TOK_REAL = 395, TOK_IMAG = 396, TOK_ALIGNAS = 397,
  TOK_ATOMIC_TYPE_QUALIFIER = 398, TOK_ATOMIC_TYPE_SPECIFIER = 399, TOK_GENERIC = 400, TOK_IMAGINARY = 401,
  TOK_NORETURN = 402, TOK_STATIC_ASSERT = 403, TOK_THREAD_LOCAL = 404, TOK_NULLPTR = 405,
  TOK_CONSTEXPR = 406, TOK_SCANNER_ERROR = 407, TOK_SCANNER_EOF = 408, TOK_CATCH = 409,
  TOK_CHAR16_T = 410, TOK_CHAR32_T = 411, TOK_CLASS = 412, TOK_DELETE = 413,
  TOK_DECLTYPE = 414, TOK_EXPLICIT = 415, TOK_FRIEND = 416, TOK_MUTABLE = 417,
  TOK_NAMESPACE = 418, TOK_NEW = 419, TOK_NOEXCEPT = 420, TOK_OPERATOR = 421,
  TOK_PRIVATE = 422, TOK_PROTECTED = 423, TOK_PUBLIC = 424, TOK_TEMPLATE = 425,
  TOK_THIS = 426, TOK_THROW = 427, TOK_TYPEID = 428, TOK_TYPENAME = 429,
  TOK_TRY = 430, TOK_USING = 431, TOK_VIRTUAL = 432, TOK_SCOPE = 433,
  TOK_DOTPM = 434, TOK_ARROWPM = 435, TOK_UNARY_TYPE_PREDICATE = 436, TOK_BINARY_TYPE_PREDICATE = 437,
  TOK_MSC_UUIDOF = 438, TOK_MSC_IF_EXISTS = 439, TOK_MSC_IF_NOT_EXISTS = 440, TOK_UNDERLYING_TYPE = 441,
  TOK_SCANNER_ERROR = 258, TOK_NEWLINE = 259, TOK_PROCEDURE = 260, TOK_RETURNS = 261,
  TOK_TO = 262, TOK_THROWS = 263, TOK_EVAL = 264, TOK_LABEL = 265,
  TOK_GOTO = 266, TOK_SKIP = 267, TOK_WITH = 268, TOK_NEW = 269,
  TOK_HAS_FIELD = 270, TOK_DELETE = 271, TOK_PROTO_FIELD = 272, TOK_PROTO_OBJ = 273,
  TOK_REF = 274, TOK_FIELD = 275, TOK_BASE = 276, TOK_TYPEOF = 277,
  TOK_NULL = 278, TOK_UNDEFINED = 279, TOK_EMPTY = 280, TOK_TRUE = 281,
  TOK_FALSE = 282, TOK_PROTO = 283, TOK_FID = 284, TOK_SCOPE = 285,
  TOK_CONSTRUCTID = 286, TOK_PRIMVALUE = 287, TOK_TARGETFUNCTION = 288, TOK_CLASS = 289,
  TOK_NUM_TO_STRING = 290, TOK_STRING_TO_NUM = 291, TOK_NUM_TO_INT32 = 292, TOK_NUM_TO_UINT32 = 293,
  TOK_MEMBER_REFERENCE = 294, TOK_VARIABLE_REFERENCE = 295, TOK_T_NULL = 296, TOK_T_UNDEFINED = 297,
  TOK_T_BOOLEAN = 298, TOK_T_STRING = 299, TOK_T_NUMBER = 300, TOK_T_BUILTIN_OBJECT = 301,
  TOK_T_USER_OBJECT = 302, TOK_T_OBJECT = 303, TOK_T_REFERENCE = 304, TOK_DEFEQ = 305,
  TOK_LEQ = 306, TOK_AND = 307, TOK_OR = 308, TOK_SUBTYPE_OF = 309,
  TOK_LEFT_SHIFT = 310, TOK_SIGNED_RIGHT_SHIFT = 311, TOK_UNSIGNED_RIGHT_SHIFT = 312, TOK_NOT = 313,
  TOK_IDENTIFIER = 314, TOK_FLOATING = 315, TOK_STRING = 316, TOK_BUILTIN_LOC = 317,
  TOK_BUILTIN_IDENTIFIER = 318, TOK_SPEC_IDENTIFIER = 319, TOK_STRING = 258, TOK_NUMBER = 259,
  TOK_TRUE = 260, TOK_FALSE = 261, TOK_NULL = 262, TOK_STRING = 258,
  TOK_NUMBER = 259, TOK_TRUE = 260, TOK_FALSE = 261, TOK_NULL = 262,
  STARTXMLDECL = 258, VERSION = 259, STARTPI = 260, ENDPI = 261,
  EQ = 262, SLASH = 263, CLOSE = 264, END = 265,
  ENCODING = 266, NAME = 267, VALUE = 268, DATA = 269,
  COMMENT = 270, START = 271, STARTXMLDECL = 258, VERSION = 259,
  STARTPI = 260, ENDPI = 261, EQ = 262, SLASH = 263,
  CLOSE = 264, END = 265, ENCODING = 266, NAME = 267,
  VALUE = 268, DATA = 269, COMMENT = 270, START = 271
}
 

Functions

int yyxmllex ()
 The main scanner function which does all the work. More...
 
int yyxmlerror (const std::string &error)
 
int yyxmlparse (void)
 
void * malloc (size_t)
 
void free (void *)
 
static size_t yystrlen (const char *yystr)
 
static char * yystpcpy (char *yydest, const char *yysrc)
 
static size_t yytnamerr (char *yyres, const char *yystr)
 
static int yysyntax_error (size_t *yymsg_alloc, char **yymsg, yytype_int16 *yyssp, int yytoken)
 
static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
 

Variables

char * yyxmltext
 
YYSTYPE yyxmllval
 
static const yytype_uint8 yytranslate []
 
static const char *const yytname []
 
static const yytype_int8 yypact []
 
static const yytype_uint8 yydefact []
 
static const yytype_int8 yypgoto []
 
static const yytype_int8 yydefgoto []
 
static const yytype_uint8 yytable []
 
static const yytype_uint8 yycheck []
 
static const yytype_uint8 yystos []
 
static const yytype_uint8 yyr1 []
 
static const yytype_uint8 yyr2 []
 
int yyxmlchar
 
int yyxmlnerrs
 

Macro Definition Documentation

§ _Noreturn

#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))

Definition at line 261 of file xml_y.tab.cpp.

§ CLOSE

#define CLOSE   264

Definition at line 147 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ COMMENT

#define COMMENT   270

Definition at line 153 of file xml_y.tab.cpp.

§ DATA

#define DATA   269

Definition at line 152 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ ENCODING

#define ENCODING   266

Definition at line 149 of file xml_y.tab.cpp.

§ END

#define END   265

Definition at line 148 of file xml_y.tab.cpp.

Referenced by smt2_convt::convert_byte_update(), and yyxmllex().

§ ENDPI

#define ENDPI   261

Definition at line 144 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ EQ

#define EQ   262

Definition at line 145 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ NAME

#define NAME   267

Definition at line 150 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ SLASH

#define SLASH   263

Definition at line 146 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ START

#define START   271

Definition at line 154 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ STARTPI

#define STARTPI   260

Definition at line 143 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ STARTXMLDECL

#define STARTXMLDECL   258

Definition at line 141 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ VALUE

#define VALUE   268

Definition at line 151 of file xml_y.tab.cpp.

Referenced by boolbvt::convert_case(), and yyxmllex().

§ VERSION

#define VERSION   259

Definition at line 142 of file xml_y.tab.cpp.

§ YY_

#define YY_ (   Msgid)    Msgid

Definition at line 234 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ YY_ATTRIBUTE

#define YY_ATTRIBUTE (   Spec)    /* empty */

Definition at line 244 of file xml_y.tab.cpp.

§ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 249 of file xml_y.tab.cpp.

§ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 253 of file xml_y.tab.cpp.

§ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 284 of file xml_y.tab.cpp.

Referenced by yydestruct(), and yyxmlparse().

§ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 285 of file xml_y.tab.cpp.

Referenced by yydestruct(), and yyxmlparse().

§ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 281 of file xml_y.tab.cpp.

§ YY_NULLPTR

#define YY_NULLPTR   0

Definition at line 95 of file xml_y.tab.cpp.

Referenced by yysyntax_error().

§ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)

Definition at line 763 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YY_STACK_PRINT

#define YY_STACK_PRINT (   Bottom,
  Top 
)

Definition at line 762 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)

Definition at line 761 of file xml_y.tab.cpp.

Referenced by yydestruct(), and yyxmlparse().

§ YY_YYXML_XML_Y_TAB_HPP_INCLUDED

#define YY_YYXML_XML_Y_TAB_HPP_INCLUDED

Definition at line 110 of file xml_y.tab.cpp.

§ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 608 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 607 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYBACKUP

#define YYBACKUP (   Token,
  Value 
)
Value:
do \
if (yychar == YYEMPTY) \
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (0)
#define yychar
Definition: xml_y.tab.cpp:70
#define YY_(Msgid)
Definition: xml_y.tab.cpp:234
#define YYEMPTY
Definition: xml_y.tab.cpp:604

Definition at line 614 of file xml_y.tab.cpp.

§ YYBISON

#define YYBISON   1

Definition at line 44 of file xml_y.tab.cpp.

§ YYBISON_VERSION

#define YYBISON_VERSION   "3.0.4"

Definition at line 47 of file xml_y.tab.cpp.

§ YYCASE_

#define YYCASE_ (   N,
 
)
Value:
case N: \
yyformat = S; \
break

Referenced by yysyntax_error().

§ yychar

#define yychar   yyxmlchar

Definition at line 70 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ yyclearin

#define yyclearin   (yychar = YYEMPTY)

Definition at line 603 of file xml_y.tab.cpp.

§ YYCOPY

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)

Definition at line 408 of file xml_y.tab.cpp.

§ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

Definition at line 380 of file xml_y.tab.cpp.

§ yydebug

#define yydebug   yyxmldebug

Definition at line 66 of file xml_y.tab.cpp.

§ YYDEBUG

#define YYDEBUG   0

Definition at line 113 of file xml_y.tab.cpp.

§ YYDPRINTF

#define YYDPRINTF (   Args)

Definition at line 760 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYEMPTY

#define YYEMPTY   (-2)

Definition at line 604 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ YYEOF

#define YYEOF   0

Definition at line 605 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYERRCODE

#define YYERRCODE   256

Definition at line 633 of file xml_y.tab.cpp.

§ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 602 of file xml_y.tab.cpp.

§ yyerror

#define yyerror   yyxmlerror

Definition at line 65 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 609 of file xml_y.tab.cpp.

§ YYERROR_VERBOSE

#define YYERROR_VERBOSE   1

Definition at line 104 of file xml_y.tab.cpp.

§ YYFINAL

#define YYFINAL   6

Definition at line 421 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYFREE

#define YYFREE   free

Definition at line 351 of file xml_y.tab.cpp.

§ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 769 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYLAST

#define YYLAST   25

Definition at line 423 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ yylex

#define yylex   yyxmllex

Definition at line 64 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ yylval

#define yylval   yyxmllval

Definition at line 69 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYMALLOC

#define YYMALLOC   malloc

Definition at line 345 of file xml_y.tab.cpp.

§ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 780 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYMAXUTOK

#define YYMAXUTOK   271

Definition at line 437 of file xml_y.tab.cpp.

§ yynerrs

#define yynerrs   yyxmlnerrs

Definition at line 67 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYNNTS

#define YYNNTS   20

Definition at line 428 of file xml_y.tab.cpp.

§ YYNRULES

#define YYNRULES   29

Definition at line 430 of file xml_y.tab.cpp.

§ YYNSTATES

#define YYNSTATES   43

Definition at line 432 of file xml_y.tab.cpp.

§ YYNTOKENS

#define YYNTOKENS   17

Definition at line 426 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ YYPACT_NINF

#define YYPACT_NINF   -13

Definition at line 510 of file xml_y.tab.cpp.

§ yypact_value_is_default

#define yypact_value_is_default (   Yystate)    (!!((Yystate) == (-13)))

Definition at line 512 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ yyparse

#define yyparse   yyxmlparse

Definition at line 63 of file xml_y.tab.cpp.

§ YYPOPSTACK

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))

Referenced by yyxmlparse().

§ YYPULL

#define YYPULL   1

Definition at line 59 of file xml_y.tab.cpp.

§ YYPURE

#define YYPURE   0

Definition at line 53 of file xml_y.tab.cpp.

§ YYPUSH

#define YYPUSH   0

Definition at line 56 of file xml_y.tab.cpp.

§ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 612 of file xml_y.tab.cpp.

§ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 224 of file xml_y.tab.cpp.

§ YYSIZE_T

#define YYSIZE_T   size_t

Definition at line 218 of file xml_y.tab.cpp.

Referenced by yystpcpy(), yystrlen(), yysyntax_error(), yytnamerr(), and yyxmlparse().

§ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

Definition at line 50 of file xml_y.tab.cpp.

§ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 331 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 334 of file xml_y.tab.cpp.

Referenced by yysyntax_error().

§ YYSTACK_BYTES

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
union YYSTYPE YYSTYPE
Definition: xml_y.tab.cpp:167
short int yytype_int16
#define YYSTACK_GAP_MAXIMUM
Definition: xml_y.tab.cpp:372

Definition at line 376 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

Definition at line 332 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYSTACK_GAP_MAXIMUM

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 372 of file xml_y.tab.cpp.

§ YYSTACK_RELOCATE

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
#define YYSTACK_GAP_MAXIMUM
Definition: xml_y.tab.cpp:372

Definition at line 387 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED   1

Definition at line 169 of file xml_y.tab.cpp.

§ YYSTYPE_IS_TRIVIAL

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 168 of file xml_y.tab.cpp.

§ YYSYNTAX_ERROR

#define YYSYNTAX_ERROR
Value:
yysyntax_error (&yymsg_alloc, &yymsg, \
yyssp, yytoken)
static int yysyntax_error(size_t *yymsg_alloc, char **yymsg, yytype_int16 *yyssp, int yytoken)
Definition: xml_y.tab.cpp:879

Referenced by yyxmlparse().

§ YYTABLE_NINF

#define YYTABLE_NINF   -1

Definition at line 515 of file xml_y.tab.cpp.

§ yytable_value_is_error

#define yytable_value_is_error (   Yytable_value)    0

Definition at line 517 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ YYTERROR

#define YYTERROR   1

Definition at line 632 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ YYTOKENTYPE

#define YYTOKENTYPE

Definition at line 121 of file xml_y.tab.cpp.

§ YYTRANSLATE

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 439 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ YYUNDEFTOK

#define YYUNDEFTOK   2

Definition at line 436 of file xml_y.tab.cpp.

§ YYUSE

#define YYUSE (   E)    ((void) (E))

Definition at line 267 of file xml_y.tab.cpp.

Referenced by yydestruct().

Typedef Documentation

§ YYSTYPE

typedef union YYSTYPE YYSTYPE

Definition at line 167 of file xml_y.tab.cpp.

§ yytype_int16

typedef short int yytype_int16

Definition at line 208 of file xml_y.tab.cpp.

§ yytype_int8

typedef signed char yytype_int8

Definition at line 196 of file xml_y.tab.cpp.

§ yytype_uint16

typedef unsigned short int yytype_uint16

Definition at line 202 of file xml_y.tab.cpp.

§ yytype_uint8

typedef unsigned char yytype_uint8

Definition at line 190 of file xml_y.tab.cpp.

Enumeration Type Documentation

§ yytokentype

Enumerator
TOK_AUTO 
TOK_BOOL 
TOK_COMPLEX 
TOK_BREAK 
TOK_CASE 
TOK_CHAR 
TOK_CONST 
TOK_CONTINUE 
TOK_DEFAULT 
TOK_DO 
TOK_DOUBLE 
TOK_ELSE 
TOK_ENUM 
TOK_EXTERN 
TOK_FLOAT 
TOK_FOR 
TOK_GOTO 
TOK_IF 
TOK_INLINE 
TOK_INT 
TOK_LONG 
TOK_REGISTER 
TOK_RESTRICT 
TOK_RETURN 
TOK_SHORT 
TOK_SIGNED 
TOK_SIZEOF 
TOK_STATIC 
TOK_STRUCT 
TOK_SWITCH 
TOK_TYPEDEF 
TOK_UNION 
TOK_UNSIGNED 
TOK_VOID 
TOK_VOLATILE 
TOK_WCHAR_T 
TOK_WHILE 
TOK_ARROW 
TOK_INCR 
TOK_DECR 
TOK_SHIFTLEFT 
TOK_SHIFTRIGHT 
TOK_LE 
TOK_GE 
TOK_EQ 
TOK_NE 
TOK_ANDAND 
TOK_OROR 
TOK_ELLIPSIS 
TOK_MULTASSIGN 
TOK_DIVASSIGN 
TOK_MODASSIGN 
TOK_PLUSASSIGN 
TOK_MINUSASSIGN 
TOK_SHLASSIGN 
TOK_SHRASSIGN 
TOK_ANDASSIGN 
TOK_XORASSIGN 
TOK_ORASSIGN 
TOK_IDENTIFIER 
TOK_TYPEDEFNAME 
TOK_INTEGER 
TOK_FLOATING 
TOK_CHARACTER 
TOK_STRING 
TOK_ASM_STRING 
TOK_INT8 
TOK_INT16 
TOK_INT32 
TOK_INT64 
TOK_PTR32 
TOK_PTR64 
TOK_TYPEOF 
TOK_GCC_AUTO_TYPE 
TOK_GCC_FLOAT80 
TOK_GCC_FLOAT128 
TOK_GCC_FLOAT128_ALT 
TOK_GCC_INT128 
TOK_GCC_DECIMAL32 
TOK_GCC_DECIMAL64 
TOK_GCC_DECIMAL128 
TOK_GCC_ASM 
TOK_GCC_ASM_PAREN 
TOK_GCC_ATTRIBUTE 
TOK_GCC_ATTRIBUTE_ALIGNED 
TOK_GCC_ATTRIBUTE_TRANSPARENT_UNION 
TOK_GCC_ATTRIBUTE_PACKED 
TOK_GCC_ATTRIBUTE_VECTOR_SIZE 
TOK_GCC_ATTRIBUTE_MODE 
TOK_GCC_ATTRIBUTE_GNU_INLINE 
TOK_GCC_ATTRIBUTE_WEAK 
TOK_GCC_ATTRIBUTE_ALIAS 
TOK_GCC_ATTRIBUTE_SECTION 
TOK_GCC_ATTRIBUTE_NORETURN 
TOK_GCC_ATTRIBUTE_CONSTRUCTOR 
TOK_GCC_ATTRIBUTE_DESTRUCTOR 
TOK_GCC_LABEL 
TOK_MSC_ASM 
TOK_MSC_BASED 
TOK_CW_VAR_ARG_TYPEOF 
TOK_BUILTIN_VA_ARG 
TOK_GCC_BUILTIN_TYPES_COMPATIBLE_P 
TOK_CLANG_BUILTIN_CONVERTVECTOR 
TOK_OFFSETOF 
TOK_ALIGNOF 
TOK_MSC_TRY 
TOK_MSC_FINALLY 
TOK_MSC_EXCEPT 
TOK_MSC_LEAVE 
TOK_MSC_DECLSPEC 
TOK_INTERFACE 
TOK_CDECL 
TOK_STDCALL 
TOK_FASTCALL 
TOK_CLRCALL 
TOK_FORALL 
TOK_EXISTS 
TOK_ACSL_FORALL 
TOK_ACSL_EXISTS 
TOK_ARRAY_OF 
TOK_CPROVER_BITVECTOR 
TOK_CPROVER_FLOATBV 
TOK_CPROVER_FIXEDBV 
TOK_CPROVER_ATOMIC 
TOK_CPROVER_BOOL 
TOK_CPROVER_THROW 
TOK_CPROVER_CATCH 
TOK_CPROVER_TRY 
TOK_CPROVER_FINALLY 
TOK_CPROVER_ID 
TOK_CPROVER_LOOP_INVARIANT 
TOK_CPROVER_REQUIRES 
TOK_CPROVER_ENSURES 
TOK_IMPLIES 
TOK_EQUIVALENT 
TOK_TRUE 
TOK_FALSE 
TOK_REAL 
TOK_IMAG 
TOK_ALIGNAS 
TOK_ATOMIC_TYPE_QUALIFIER 
TOK_ATOMIC_TYPE_SPECIFIER 
TOK_GENERIC 
TOK_IMAGINARY 
TOK_NORETURN 
TOK_STATIC_ASSERT 
TOK_THREAD_LOCAL 
TOK_NULLPTR 
TOK_CONSTEXPR 
TOK_SCANNER_ERROR 
TOK_SCANNER_EOF 
TOK_CATCH 
TOK_CHAR16_T 
TOK_CHAR32_T 
TOK_CLASS 
TOK_DELETE 
TOK_DECLTYPE 
TOK_EXPLICIT 
TOK_FRIEND 
TOK_MUTABLE 
TOK_NAMESPACE 
TOK_NEW 
TOK_NOEXCEPT 
TOK_OPERATOR 
TOK_PRIVATE 
TOK_PROTECTED 
TOK_PUBLIC 
TOK_TEMPLATE 
TOK_THIS 
TOK_THROW 
TOK_TYPEID 
TOK_TYPENAME 
TOK_TRY 
TOK_USING 
TOK_VIRTUAL 
TOK_SCOPE 
TOK_DOTPM 
TOK_ARROWPM 
TOK_UNARY_TYPE_PREDICATE 
TOK_BINARY_TYPE_PREDICATE 
TOK_MSC_UUIDOF 
TOK_MSC_IF_EXISTS 
TOK_MSC_IF_NOT_EXISTS 
TOK_UNDERLYING_TYPE 
TOK_SCANNER_ERROR 
TOK_NEWLINE 
TOK_PROCEDURE 
TOK_RETURNS 
TOK_TO 
TOK_THROWS 
TOK_EVAL 
TOK_LABEL 
TOK_GOTO 
TOK_SKIP 
TOK_WITH 
TOK_NEW 
TOK_HAS_FIELD 
TOK_DELETE 
TOK_PROTO_FIELD 
TOK_PROTO_OBJ 
TOK_REF 
TOK_FIELD 
TOK_BASE 
TOK_TYPEOF 
TOK_NULL 
TOK_UNDEFINED 
TOK_EMPTY 
TOK_TRUE 
TOK_FALSE 
TOK_PROTO 
TOK_FID 
TOK_SCOPE 
TOK_CONSTRUCTID 
TOK_PRIMVALUE 
TOK_TARGETFUNCTION 
TOK_CLASS 
TOK_NUM_TO_STRING 
TOK_STRING_TO_NUM 
TOK_NUM_TO_INT32 
TOK_NUM_TO_UINT32 
TOK_MEMBER_REFERENCE 
TOK_VARIABLE_REFERENCE 
TOK_T_NULL 
TOK_T_UNDEFINED 
TOK_T_BOOLEAN 
TOK_T_STRING 
TOK_T_NUMBER 
TOK_T_BUILTIN_OBJECT 
TOK_T_USER_OBJECT 
TOK_T_OBJECT 
TOK_T_REFERENCE 
TOK_DEFEQ 
TOK_LEQ 
TOK_AND 
TOK_OR 
TOK_SUBTYPE_OF 
TOK_LEFT_SHIFT 
TOK_SIGNED_RIGHT_SHIFT 
TOK_UNSIGNED_RIGHT_SHIFT 
TOK_NOT 
TOK_IDENTIFIER 
TOK_FLOATING 
TOK_STRING 
TOK_BUILTIN_LOC 
TOK_BUILTIN_IDENTIFIER 
TOK_SPEC_IDENTIFIER 
TOK_STRING 
TOK_NUMBER 
TOK_TRUE 
TOK_FALSE 
TOK_NULL 
TOK_STRING 
TOK_NUMBER 
TOK_TRUE 
TOK_FALSE 
TOK_NULL 
STARTXMLDECL 
VERSION 
STARTPI 
ENDPI 
EQ 
SLASH 
CLOSE 
END 
ENCODING 
NAME 
VALUE 
DATA 
COMMENT 
START 
STARTXMLDECL 
VERSION 
STARTPI 
ENDPI 
EQ 
SLASH 
CLOSE 
END 
ENCODING 
NAME 
VALUE 
DATA 
COMMENT 
START 

Definition at line 122 of file xml_y.tab.cpp.

Function Documentation

§ free()

void free ( void *  )

Referenced by yyxmlparse().

§ malloc()

void* malloc ( size_t  )

§ yydestruct()

static void yydestruct ( const char *  yymsg,
int  yytype,
YYSTYPE yyvaluep 
)
static

§ yystpcpy()

static char* yystpcpy ( char *  yydest,
const char *  yysrc 
)
static

Definition at line 809 of file xml_y.tab.cpp.

References YYSIZE_T.

Referenced by yytnamerr().

§ yystrlen()

static size_t yystrlen ( const char *  yystr)
static

Definition at line 792 of file xml_y.tab.cpp.

References YYSIZE_T.

Referenced by yysyntax_error(), and yytnamerr().

§ yysyntax_error()

static int yysyntax_error ( size_t *  yymsg_alloc,
char **  yymsg,
yytype_int16 yyssp,
int  yytoken 
)
static

§ yytnamerr()

static size_t yytnamerr ( char *  yyres,
const char *  yystr 
)
static

Definition at line 831 of file xml_y.tab.cpp.

References YYSIZE_T, yystpcpy(), and yystrlen().

Referenced by yysyntax_error().

§ yyxmlerror()

int yyxmlerror ( const std::string &  error)

Definition at line 82 of file xml_y.tab.cpp.

References parsert::parse_error(), xml_parser, and yyxmltext.

Referenced by xml_parsert::clear(), and yyxmllex().

§ yyxmllex()

§ yyxmlparse()

Variable Documentation

§ yycheck

const yytype_uint8 yycheck[]
static
Initial value:
=
{
11, 5, 5, 8, 9, 3, 10, 12, 0, 16,
14, 15, 15, 12, 7, 12, 27, 6, 13, 9,
6, 12, 9, 8, 32, 37
}

Definition at line 567 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ yydefact

const yytype_uint8 yydefact[]
static
Initial value:
=
{
7, 4, 0, 0, 9, 28, 1, 15, 9, 3,
5, 28, 2, 0, 10, 8, 11, 0, 0, 27,
0, 12, 0, 6, 0, 18, 16, 28, 29, 17,
24, 13, 22, 0, 26, 20, 21, 0, 14, 25,
0, 23, 19
}

Definition at line 534 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ yydefgoto

const yytype_int8 yydefgoto[]
static
Initial value:
=
{
-1, 2, 3, 4, 5, 18, 9, 15, 16, 27,
33, 8, 11, 26, 30, 32, 37, 40, 10, 19
}

Definition at line 551 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ yypact

const yytype_int8 yypact[]
static
Initial value:
=
{
2, -13, 8, -7, -13, -13, -13, -13, -13, -3,
1, -13, -3, 3, -13, -13, -13, 7, 11, -13,
-5, -13, 5, -13, 10, -13, -13, -13, -13, -13,
-13, 1, -4, 14, 9, -13, -13, -7, -13, -13,
13, -13, -13
}

Definition at line 522 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ yypgoto

const yytype_int8 yypgoto[]
static
Initial value:
=
{
-13, -13, -13, -13, -13, -13, 15, -8, -13, -13,
-13, -12, -13, -13, -13, -13, -13, -13, -11, -13
}

Definition at line 544 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ yyr1

const yytype_uint8 yyr1[]
static
Initial value:
=
{
0, 17, 18, 19, 21, 22, 20, 20, 23, 23,
24, 24, 26, 27, 25, 29, 28, 30, 31, 30,
32, 32, 33, 32, 32, 34, 34, 35, 35, 36
}

Definition at line 586 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ yyr2

const yytype_uint8 yyr2[]
static
Initial value:
=
{
0, 2, 3, 2, 0, 0, 5, 0, 2, 0,
1, 1, 0, 0, 6, 0, 4, 2, 0, 6,
2, 2, 0, 3, 0, 1, 0, 2, 0, 3
}

Definition at line 594 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ yystos

const yytype_uint8 yystos[]
static
Initial value:
=
{
0, 3, 18, 19, 20, 21, 0, 16, 28, 23,
35, 29, 23, 5, 15, 24, 25, 12, 22, 36,
35, 12, 7, 6, 8, 9, 30, 26, 13, 9,
31, 35, 32, 27, 10, 14, 24, 33, 6, 12,
34, 28, 9
}

Definition at line 576 of file xml_y.tab.cpp.

Referenced by yyxmlparse().

§ yytable

const yytype_uint8 yytable[]
static
Initial value:
=
{
20, 13, 13, 24, 25, 1, 34, 17, 6, 7,
35, 14, 14, 17, 22, 21, 31, 23, 28, 29,
38, 39, 42, 12, 36, 41
}

Definition at line 560 of file xml_y.tab.cpp.

Referenced by yysyntax_error(), and yyxmlparse().

§ yytname

const char* const yytname[]
static
Initial value:
=
{
"$end", "error", "$undefined", "STARTXMLDECL", "VERSION", "STARTPI",
"ENDPI", "EQ", "SLASH", "CLOSE", "END", "ENCODING", "NAME", "VALUE",
"DATA", "COMMENT", "START", "$accept", "document", "prolog",
"XMLDecl_opt", "$@1", "$@2", "misc_seq_opt", "misc", "PI", "$@3", "$@4",
"element", "$@5", "empty_or_content", "$@6", "content", "$@7",
"name_opt", "attribute_seq_opt", "attribute", 0
}

Definition at line 489 of file xml_y.tab.cpp.

Referenced by yysyntax_error().

§ yytranslate

const yytype_uint8 yytranslate[]
static

Definition at line 444 of file xml_y.tab.cpp.

§ yyxmlchar

int yyxmlchar

Definition at line 1027 of file xml_y.tab.cpp.

§ yyxmllval

YYSTYPE yyxmllval

Definition at line 1030 of file xml_y.tab.cpp.

Referenced by yyxmllex().

§ yyxmlnerrs

int yyxmlnerrs

Definition at line 1032 of file xml_y.tab.cpp.

§ yyxmltext

char* yyxmltext

Referenced by yyxmlerror().