Classes | |
union | YYSTYPE |
union | yyalloc |
Defines | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "2.3" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 1 |
#define | YYLSP_NEEDED 0 |
#define | yyparse statparse |
#define | yylex statlex |
#define | yyerror staterror |
#define | yylval statlval |
#define | yychar statchar |
#define | yydebug statdebug |
#define | yynerrs statnerrs |
#define | TOK_OP_POWER 258 |
#define | TOK_INTEGER 259 |
#define | TOK_DOUBLE 260 |
#define | TOK_COORDINATE 261 |
#define | TOK_VARIABLE 262 |
#define | TOK_VARINARRAY 263 |
#define | TOK_FUNCTION1 264 |
#define | TOK_FUNCTION2 265 |
#define | TOK_GROUP 266 |
#define | TOK_KEYS 267 |
#define | TOK_THREAD 268 |
#define | TOK_SURFACE 269 |
#define | TOK_PLANES 270 |
#define | TOK_VOLUME 271 |
#define | TOK_OP_MINUS 272 |
#define | TOK_OP_PLUS 273 |
#define | TOK_OP_PROD 274 |
#define | TOK_OP_DIV 275 |
#define | TOK_OP_NEG 276 |
#define | TOK_SEPARATOR 277 |
#define | TOK_POINTER 278 |
#define | NEG 279 |
#define | YYDEBUG 0 |
#define | YYERROR_VERBOSE 0 |
#define | YYTOKEN_TABLE 0 |
#define | yystype YYSTYPE |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | YYSIZE_T unsigned int |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(msgid) msgid |
#define | YYUSE(e) ((void) (e)) |
#define | YYID(n) (n) |
#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(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack) |
#define | YYFINAL 2 |
#define | YYLAST 254 |
#define | YYNTOKENS 42 |
#define | YYNNTS 10 |
#define | YYNRULES 41 |
#define | YYNSTATES 125 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 279 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -29 |
#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 | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YYLEX yylex (&yylval) |
#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 | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef union YYSTYPE | YYSTYPE |
typedef unsigned char | yytype_uint8 |
typedef short int | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
Enumerations | |
enum | yytokentype { TOK_OP_POWER = 258, TOK_INTEGER = 259, TOK_DOUBLE = 260, TOK_COORDINATE = 261, TOK_VARIABLE = 262, TOK_VARINARRAY = 263, TOK_FUNCTION1 = 264, TOK_FUNCTION2 = 265, TOK_GROUP = 266, TOK_KEYS = 267, TOK_THREAD = 268, TOK_SURFACE = 269, TOK_PLANES = 270, TOK_VOLUME = 271, TOK_OP_MINUS = 272, TOK_OP_PLUS = 273, TOK_OP_PROD = 274, TOK_OP_DIV = 275, TOK_OP_NEG = 276, TOK_SEPARATOR = 277, TOK_POINTER = 278, NEG = 279 } |
Functions | |
YYPARSE_TEMPLATE_DEF void | coord2dir (YYPARSE_PARAM_TYPE *YYPARSE_PARAM, int dir, stat_uop &options) |
int | yylex (YYSTYPE *yylval) |
int | yyparse () |
void | yyerror (char const *msg) |
void | yyerror (char const *msg, int l, int c) |
void | stat_parser_set_debug () |
#define NEG 279 |
#define TOK_COORDINATE 261 |
#define TOK_FUNCTION1 264 |
#define TOK_FUNCTION2 265 |
#define TOK_GROUP 266 |
#define TOK_KEYS 267 |
#define TOK_OP_DIV 275 |
Referenced by yyparse().
#define TOK_OP_MINUS 272 |
Referenced by yyparse().
#define TOK_OP_NEG 276 |
Referenced by yyparse().
#define TOK_OP_PLUS 273 |
Referenced by yyparse().
#define TOK_OP_PROD 274 |
Referenced by yyparse().
#define TOK_POINTER 278 |
Referenced by yyparse().
#define TOK_SEPARATOR 277 |
Referenced by yyparse().
#define TOK_SURFACE 269 |
#define TOK_THREAD 268 |
#define TOK_VOLUME 271 |
Referenced by while().
#define YY_ | ( | msgid | ) | msgid |
Referenced by yyparse().
#define YY_LOCATION_PRINT | ( | File, | |||
Loc | ) | ((void) 0) |
#define YY_REDUCE_PRINT | ( | Rule | ) |
Referenced by yyparse().
#define YY_STACK_PRINT | ( | Bottom, | |||
Top | ) |
Referenced by yyparse().
#define YY_SYMBOL_PRINT | ( | Title, | |||
Type, | |||||
Value, | |||||
Location | ) |
Referenced by yyparse().
#define YYABORT goto yyabortlab |
Referenced by yyparse().
#define YYACCEPT goto yyacceptlab |
Referenced by yyparse().
#define YYBACKUP | ( | Token, | |||
Value | ) |
#define YYBISON 1 |
#define YYBISON_VERSION "2.3" |
#define yychar statchar |
#define yyclearin (yychar = YYEMPTY) |
#define YYCOPY | ( | To, | |||
From, | |||||
Count | ) |
#define YYDEBUG 0 |
#define yydebug statdebug |
#define YYDPRINTF | ( | Args | ) |
Referenced by yyparse().
#define YYEMPTY (-2) |
Referenced by yyparse().
#define YYEOF 0 |
Referenced by yyparse().
#define YYERRCODE 256 |
#define yyerrok (yyerrstatus = 0) |
#define YYERROR goto yyerrorlab |
#define yyerror staterror |
Referenced by yyparse().
#define YYERROR_VERBOSE 0 |
#define YYFAIL goto yyerrlab |
#define YYFINAL 2 |
Referenced by yyparse().
#define YYFREE free |
#define YYID | ( | n | ) | (n) |
Referenced by yyparse().
#define YYINITDEPTH 200 |
Referenced by yyparse().
#define YYLAST 254 |
Referenced by yyparse().
#define YYLEX yylex (&yylval) |
Referenced by yyparse().
#define yylex statlex |
#define YYLLOC_DEFAULT | ( | Current, | |||
Rhs, | |||||
N | ) |
do \ if (YYID (N)) \ { \ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ } \ else \ { \ (Current).first_line = (Current).last_line = \ YYRHSLOC (Rhs, 0).last_line; \ (Current).first_column = (Current).last_column = \ YYRHSLOC (Rhs, 0).last_column; \ } \ while (YYID (0))
#define YYLSP_NEEDED 0 |
#define YYMALLOC malloc |
#define YYMAXDEPTH 10000 |
Referenced by yyparse().
#define YYMAXUTOK 279 |
#define yynerrs statnerrs |
Referenced by yyparse().
#define YYNNTS 10 |
#define YYNRULES 41 |
#define YYNSTATES 125 |
#define YYNTOKENS 42 |
Referenced by yyparse().
#define YYPACT_NINF -29 |
Referenced by yyparse().
int yyparse statparse |
#define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
Referenced by yyparse().
#define YYPURE 1 |
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
#define YYRHSLOC | ( | Rhs, | |||
K | ) | ((Rhs)[K]) |
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define YYSIZE_T unsigned int |
Referenced by yyparse().
#define YYSKELETON_NAME "yacc.c" |
#define YYSTACK_ALLOC YYMALLOC |
Referenced by yyparse().
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Referenced by yyparse().
#define YYSTACK_BYTES | ( | N | ) |
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM)
Referenced by yyparse().
#define YYSTACK_FREE YYFREE |
Referenced by yyparse().
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define YYSTACK_RELOCATE | ( | Stack | ) |
do \ { \ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack, Stack, yysize); \ Stack = &yyptr->Stack; \ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (YYID (0))
Referenced by yyparse().
#define yystype YYSTYPE |
#define YYSTYPE_IS_DECLARED 1 |
#define YYSTYPE_IS_TRIVIAL 1 |
#define YYTABLE_NINF -1 |
Referenced by yyparse().
#define YYTERROR 1 |
Referenced by yyparse().
#define YYTOKEN_TABLE 0 |
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Referenced by yyparse().
#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 |
YYPARSE_TEMPLATE_DEF void coord2dir | ( | YYPARSE_PARAM_TYPE * | YYPARSE_PARAM, | |
int | dir, | |||
stat_uop & | options | |||
) |
References stat_plane::amax, stat_plane::amin, stat_plane::bmax, stat_plane::bmin, stat_plane::dir, stat_plane::na, stat_plane::nb, stat_uop::plane, STAT_NXF, STAT_NYF, STAT_NZF, STAT_XMAX, STAT_XMIN, STAT_YMAX, STAT_YMIN, STAT_ZMAX, and STAT_ZMIN.
Referenced by yyparse().
void stat_parser_set_debug | ( | void | ) |
Referenced by main().
void yyerror | ( | char const * | msg, | |
int | l, | |||
int | c | |||
) |
void yyerror | ( | char const * | msg | ) |
int yylex | ( | YYSTYPE * | yylval | ) |
int yyparse | ( | ) |
References stat_thread::ave, stat_surface::avea, stat_surface::aveb, stat_uop::bndry, coord2dir(), stat_plane::dir, fabs(), _symrec< data_type >::iptr, YYSTYPE::ivalue, stat_surface::na, stat_thread::na, stat_surface::nb, stat_uop::plane, YYSTYPE::psym, _symrec< data_type >::ref, RETURN_ERROR, STAT_AVERAGED, STAT_COORD_A, STAT_COORD_B, STAT_COORD_X, STAT_COORD_Y, STAT_COORD_Z, STAT_RAW, STAT_XMAX, STAT_XMIN, STAT_YMAX, STAT_YMIN, STAT_ZMAX, STAT_ZMIN, stat_uop::surface, stat_uop::thread, TOK_DOUBLE, TOK_OP_DIV, TOK_OP_MINUS, TOK_OP_NEG, TOK_OP_PLUS, TOK_OP_POWER, TOK_OP_PROD, TOK_PLANES, TOK_POINTER, TOK_SEPARATOR, TOK_VARIABLE, TOK_VARINARRAY, stat_plane::value, YYSTYPE::value, _symrec< data_type >::vdata, YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, YYDPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, YYPACT_NINF, YYPOPSTACK, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYTABLE_NINF, YYTERROR, and YYTRANSLATE.