![]() |
My Project
|
#include "config.h"#include "factory/factoryconf.h"#include <cstring>#include <ctype.h>#include <iostream>#include "cf_assert.h"#include "canonicalform.h"#include "cf_defs.h"#include "gfops.h"#include "parseutil.h"#include "variable.h"#include <limits.h>#include <stdlib.h>Go to the source code of this file.
Macros | |
| #define | YYBISON 30802 |
| #define | YYBISON_VERSION "3.8.2" |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYPURE 0 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | ISTREAM std::istream |
| #define | CERR std::cerr |
| #define | YYSTYPE ParseUtil |
| #define | YY_CAST(Type, Val) |
| #define | YY_REINTERPRET_CAST(Type, Val) |
| #define | YY_NULLPTR 0 |
| #define | YYDEBUG 0 |
| #define | YYTOKENTYPE |
| #define | YYEMPTY -2 |
| #define | YYEOF 0 |
| #define | YYerror 256 |
| #define | YYUNDEF 257 |
| #define | NUM 258 |
| #define | NEG 259 |
| #define | YYPTRDIFF_T long |
| #define | YYPTRDIFF_MAXIMUM LONG_MAX |
| #define | YYSIZE_T unsigned |
| #define | YYSIZE_MAXIMUM |
| #define | YYSIZEOF(X) |
| #define | YY_(Msgid) |
| #define | YY_ATTRIBUTE_PURE |
| #define | YY_ATTRIBUTE_UNUSED |
| #define | YY_USE(E) |
| #define | YY_INITIAL_VALUE(Value) |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
| #define | YY_IGNORE_USELESS_CAST_BEGIN |
| #define | YY_IGNORE_USELESS_CAST_END |
| #define | YY_ASSERT(E) |
| #define | YYSTACK_ALLOC YYMALLOC |
| #define | YYSTACK_FREE YYFREE |
| #define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define | EXIT_SUCCESS 0 |
| #define | YYMALLOC malloc |
| #define | YYFREE free |
| #define | YYFINAL 2 |
| #define | YYLAST 44 |
| #define | YYNTOKENS 13 |
| #define | YYNNTS 4 |
| #define | YYNRULES 14 |
| #define | YYNSTATES 25 |
| #define | YYMAXUTOK 259 |
| #define | YYTRANSLATE(YYX) |
| #define | YY_ACCESSING_SYMBOL(State) |
| Accessing symbol of state STATE. | |
| #define | YYPACT_NINF (-8) |
| #define | yypact_value_is_default(Yyn) |
| #define | YYTABLE_NINF (-1) |
| #define | yytable_value_is_error(Yyn) |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyclearin (yychar = YYEMPTY) |
| #define | YYACCEPT goto yyacceptlab |
| #define | YYABORT goto yyabortlab |
| #define | YYERROR goto yyerrorlab |
| #define | YYNOMEM goto yyexhaustedlab |
| #define | YYRECOVERING() |
| #define | YYBACKUP(Token, Value) |
| #define | YYERRCODE YYUNDEF |
| #define | YYDPRINTF(Args) |
| #define | YY_SYMBOL_PRINT(Title, Kind, Value, Location) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YYINITDEPTH 200 |
| #define | YYMAXDEPTH 10000 |
| #define | YYPOPSTACK(N) |
Typedefs | |
| typedef enum yytokentype | yytoken_kind_t |
| typedef enum yysymbol_kind_t | yysymbol_kind_t |
| typedef short | yytype_int16 |
| typedef unsigned short | yytype_uint16 |
| typedef yytype_int8 | yy_state_t |
| typedef int | yy_state_fast_t |
Enumerations | |
| enum | yytokentype { YYEMPTY = -2 , YYEOF = 0 , YYerror = 256 , YYUNDEF = 257 , NUM = 258 , NEG = 259 } |
| enum | yysymbol_kind_t { YYSYMBOL_YYEMPTY = -2 , YYSYMBOL_YYEOF = 0 , YYSYMBOL_YYerror = 1 , YYSYMBOL_YYUNDEF = 2 , YYSYMBOL_NUM = 3 , YYSYMBOL_4_ = 4 , YYSYMBOL_5_ = 5 , YYSYMBOL_6_ = 6 , YYSYMBOL_7_ = 7 , YYSYMBOL_NEG = 8 , YYSYMBOL_9_ = 9 , YYSYMBOL_10_ = 10 , YYSYMBOL_11_ = 11 , YYSYMBOL_12_ = 12 , YYSYMBOL_YYACCEPT = 13 , YYSYMBOL_input = 14 , YYSYMBOL_line = 15 , YYSYMBOL_exp = 16 } |
| enum | { YYENOMEM = -2 } |
Functions | |
| static char * | readString (ISTREAM &) |
| void | yyerror (char *s) |
| int | yylex () |
| int | yyparse (void) |
| static void | yydestruct (const char *yymsg, yysymbol_kind_t yykind, YYSTYPE *yyvaluep) |
| CanonicalForm | readCF (ISTREAM &str) |
Variables | |
| static ISTREAM * | defaultin = 0 |
| static CanonicalForm * | retvalue = 0 |
| YYSTYPE | yylval |
| static const yytype_int8 | yytranslate [] |
| static const yytype_int8 | yypact [] |
| static const yytype_int8 | yydefact [] |
| static const yytype_int8 | yypgoto [] |
| static const yytype_int8 | yydefgoto [] |
| static const yytype_int8 | yytable [] |
| static const yytype_int8 | yycheck [] |
| static const yytype_int8 | yystos [] |
| static const yytype_int8 | yyr1 [] |
| static const yytype_int8 | yyr2 [] |
| int | yychar |
| int | yynerrs |
| #define YY_ACCESSING_SYMBOL | ( | State | ) |
Accessing symbol of state STATE.
| #define YY_ASSERT | ( | E | ) |
| #define YY_CAST | ( | Type, | |
| Val ) |
| #define YY_REINTERPRET_CAST | ( | Type, | |
| Val ) |
| #define YYBACKUP | ( | Token, | |
| Value ) |
Definition at line 732 of file readcf.cc.
| #define yypact_value_is_default | ( | Yyn | ) |
Definition at line 635 of file readcf.cc.
| #define YYPOPSTACK | ( | N | ) |
| #define YYSIZE_MAXIMUM |
Definition at line 325 of file readcf.cc.
| #define YYSIZEOF | ( | X | ) |
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define yytable_value_is_error | ( | Yyn | ) |
| #define YYTRANSLATE | ( | YYX | ) |
| typedef int yy_state_fast_t |
| typedef yytype_int8 yy_state_t |
| typedef enum yysymbol_kind_t yysymbol_kind_t |
| typedef enum yytokentype yytoken_kind_t |
| typedef short yytype_int16 |
| typedef unsigned short yytype_uint16 |
| enum yysymbol_kind_t |
| enum yytokentype |
| CanonicalForm readCF | ( | ISTREAM & | str | ) |
Definition at line 1499 of file readcf.cc.
|
static |
Definition at line 1529 of file readcf.cc.
|
static |
Definition at line 907 of file readcf.cc.
| void yyerror | ( | char * | s | ) |
| int yylex | ( | ) |
Definition at line 1447 of file readcf.cc.
| int yyparse | ( | void | ) |
Definition at line 937 of file readcf.cc.
|
static |
|
static |
Definition at line 686 of file readcf.cc.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 677 of file readcf.cc.
|
static |
Definition at line 570 of file readcf.cc.