#include "data.h"#include "array-creator.h"#include "data-token.h"#include "symbol.h"#include <stdlib.h>#include <assert.h>#include <stdio.h>#include <string>
Classes | |
| union | yyalloc |
Defines | |
| #define | YYBISON 1 |
| #define | YYBISON_VERSION "2.4.1" |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYPURE 0 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | YYLSP_NEEDED 0 |
| #define | YYDEBUG 1 |
| #define | YYSTYPE Data |
| #define | y_tabbed |
| #define | YYERROR_VERBOSE 1 |
| #define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
| #define | YYUSE(e) ((void) (e)) |
| #define | YYID(n) (n) |
| #define | YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) |
| #define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
| #define | YYSTACK_BYTES(N) |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYFINAL 15 |
| #define | YYLAST 26 |
| #define | YYNTOKENS 13 |
| #define | YYNNTS 9 |
| #define | YYNRULES 16 |
| #define | YYNSTATES 27 |
| #define | YYUNDEFTOK 2 |
| #define | YYMAXUTOK 267 |
| #define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define | YYPACT_NINF -9 |
| #define | YYTABLE_NINF -1 |
| #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 | YYFAIL goto yyerrlab |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYBACKUP(Token, Value) |
| #define | YYTERROR 1 |
| #define | YYERRCODE 256 |
| #define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
| #define | YYLEX yylex () |
| #define | YYDPRINTF(Args) |
| #define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
| typedef unsigned char | yytype_uint8 |
| typedef short int | yytype_int8 |
| typedef unsigned short int | yytype_uint16 |
| typedef short int | yytype_int16 |
Enumerations | |
| enum | yytokentype { META = 258, NAME = 259, LPAREN = 260, RPAREN = 261, MESSAGE = 262, SEMICOLON = 263, NUMBER = 264, INIT = 265, ACTIVE = 266, COMMA = 267, LBRACE = 268, RBRACE = 269, STAR = 270, PRECOMPILER = 271, VOLATILE = 272, CLASS = 273, USES = 274, TEMPLATE_OPEN = 275, TEMPLATE_CLOSE = 276, META = 258, NAME = 259, LPAREN = 260, RPAREN = 261, MESSAGE = 262, SEMICOLON = 263, NUMBER = 264, INIT = 265, ACTIVE = 266, COMMA = 267, LBRACE = 268, RBRACE = 269, STAR = 270, PRECOMPILER = 271, VOLATILE = 272, CLASS = 273, USES = 274, TEMPLATE_OPEN = 275, TEMPLATE_CLOSE = 276, BRACE_OPEN = 258, BRACE_CLOSE = 259, COLON = 260, BRACKET_OPEN = 261, BRACKET_CLOSE = 262, SYMBOL = 263, NUMBER = 264, STRING = 265, DIMENSION_OPEN = 266, DIMENSION_CLOSE = 267, BRACE_OPEN = 258, BRACE_CLOSE = 259, COLON = 260, BRACKET_OPEN = 261, BRACKET_CLOSE = 262, SYMBOL = 263, NUMBER = 264, STRING = 265, DIMENSION_OPEN = 266, DIMENSION_CLOSE = 267, META = 258, NAME = 259, LPAREN = 260, RPAREN = 261, MESSAGE = 262, SEMICOLON = 263, NUMBER = 264, DATA = 265, COMMA = 266, LBRACE = 267, RBRACE = 268, STAR = 269, PRECOMPILER = 270, READ = 271, WRITE = 272, VOLATILE = 273, CLASS = 274, COLON = 275, VIRTUAL = 276, ASSIGNMENT = 277, EQUALITY = 278, NEQ = 279, OPERATOR = 280, TEMPLATE_OPEN = 281, TEMPLATE_CLOSE = 282, BRACKETS = 283, TILDE = 284, CONST = 285, META = 258, NAME = 259, LPAREN = 260, RPAREN = 261, MESSAGE = 262, SEMICOLON = 263, NUMBER = 264, DATA = 265, COMMA = 266, LBRACE = 267, RBRACE = 268, STAR = 269, PRECOMPILER = 270, READ = 271, WRITE = 272, VOLATILE = 273, CLASS = 274, COLON = 275, VIRTUAL = 276, ASSIGNMENT = 277, EQUALITY = 278, NEQ = 279, OPERATOR = 280, TEMPLATE_OPEN = 281, TEMPLATE_CLOSE = 282, BRACKETS = 283, TILDE = 284, CONST = 285 } |
Functions | |
| int | yylex () |
| void | yyerror (const char *text) |
| int | yyparse () |
Variables | |
| Data | parse_result |
| const char * | yysrc |
| int | yytype |
| YYSTYPE * | yyvaluep |
| int | yychar |
| YYSTYPE | yylval |
| int | yynerrs |
| #define y_tabbed |
| #define YY_REDUCE_PRINT | ( | Rule | ) |
| #define YY_STACK_PRINT | ( | Bottom, | |||
| Top | ) |
| #define YY_SYMBOL_PRINT | ( | Title, | |||
| Type, | |||||
| Value, | |||||
| Location | ) |
| #define YYABORT goto yyabortlab |
| #define YYACCEPT goto yyacceptlab |
| #define YYBACKUP | ( | Token, | |||
| Value | ) |
| #define YYBISON 1 |
| #define YYBISON_VERSION "2.4.1" |
| #define yyclearin (yychar = YYEMPTY) |
| #define YYDEBUG 1 |
| #define YYDPRINTF | ( | Args | ) |
| #define YYEMPTY (-2) |
| #define YYEOF 0 |
| #define YYERRCODE 256 |
| #define yyerrok (yyerrstatus = 0) |
| #define YYERROR goto yyerrorlab |
| #define YYERROR_VERBOSE 1 |
| #define YYFAIL goto yyerrlab |
| #define YYFINAL 15 |
| #define YYLAST 26 |
| #define YYLEX yylex () |
| #define YYLSP_NEEDED 0 |
| #define YYMAXUTOK 267 |
| #define YYNNTS 9 |
| #define YYNRULES 16 |
| #define YYNSTATES 27 |
| #define YYNTOKENS 13 |
| #define YYPACT_NINF -9 |
| #define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
| #define YYPULL 1 |
| #define YYPURE 0 |
| #define YYPUSH 0 |
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
| #define YYRHSLOC | ( | Rhs, | |||
| K | ) | ((Rhs)[K]) |
| #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
| #define YYSKELETON_NAME "yacc.c" |
| #define YYSTACK_BYTES | ( | N | ) |
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM)
| #define YYSTACK_FREE | ( | Ptr | ) | do { /* empty */; } while (YYID (0)) |
| #define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |||
| Stack | ) |
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 (YYID (0))
| #define YYSTYPE Data |
| #define YYTABLE_NINF -1 |
| #define YYTERROR 1 |
| #define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define YYUNDEFTOK 2 |
| #define YYUSE | ( | e | ) | ((void) (e)) |
| typedef short int yytype_int16 |
| typedef short int yytype_int8 |
| typedef unsigned short int yytype_uint16 |
| typedef unsigned char yytype_uint8 |
| enum yytokentype |
| void yyerror | ( | const char * | text | ) |
References printf().
| int yylex | ( | ) |
| int yyparse | ( | ) |
References Creator::append(), convertTo(), YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, YYDPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, YYMAXDEPTH, YYNTOKENS, YYPACT_NINF, YYPOPSTACK, YYSIZE_T, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYSTYPE, YYTABLE_NINF, YYTERROR, YYTRANSLATE, and yyalloc::yyvs_alloc.
| int yychar |
| YYSTYPE yylval |
| int yynerrs |
| const char* yysrc |
| int yytype |
| YYSTYPE* yyvaluep |
1.6.2