#include "ace/ETCL/ETCL_y.h"#include "ace/ETCL/ETCL_Constraint.h"#include "ace/ETCL/ETCL_Interpreter.h"#include <stdio.h>
Go to the source code of this file.
Defines | |
| #define | YYBISON 1 |
| #define | ETCL_GT 257 |
| #define | ETCL_GE 258 |
| #define | ETCL_LT 259 |
| #define | ETCL_LE 260 |
| #define | ETCL_EQ 261 |
| #define | ETCL_NE 262 |
| #define | ETCL_EXIST 263 |
| #define | ETCL_DEFAULT 264 |
| #define | ETCL_AND 265 |
| #define | ETCL_OR 266 |
| #define | ETCL_NOT 267 |
| #define | ETCL_IN 268 |
| #define | ETCL_TWIDDLE 269 |
| #define | ETCL_BOOLEAN 270 |
| #define | ETCL_PLUS 271 |
| #define | ETCL_MINUS 272 |
| #define | ETCL_MULT 273 |
| #define | ETCL_DIV 274 |
| #define | ETCL_UMINUS 275 |
| #define | ETCL_INTEGER 276 |
| #define | ETCL_FLOAT 277 |
| #define | ETCL_STRING 278 |
| #define | ETCL_RPAREN 279 |
| #define | ETCL_LPAREN 280 |
| #define | ETCL_RBRA 281 |
| #define | ETCL_LBRA 282 |
| #define | ETCL_IDENT 283 |
| #define | ETCL_UNSIGNED 284 |
| #define | ETCL_SIGNED 285 |
| #define | ETCL_DOUBLE 286 |
| #define | ETCL_CONSTRAINT 287 |
| #define | ETCL_COMPONENT 288 |
| #define | ETCL_WITH 289 |
| #define | ETCL_MAX 290 |
| #define | ETCL_MIN 291 |
| #define | ETCL_FIRST 292 |
| #define | ETCL_RANDOM 293 |
| #define | ETCL_DOLLAR 294 |
| #define | ETCL_DOT 295 |
| #define | ETCL_DISCRIMINANT 296 |
| #define | ETCL_LENGTH 297 |
| #define | ETCL_TYPE_ID 298 |
| #define | ETCL_REPOS_ID 299 |
| #define | const |
| #define | YYFINAL 114 |
| #define | YYFLAG -32768 |
| #define | YYNTBASE 46 |
| #define | YYTRANSLATE(x) ((unsigned)(x) <= 299 ? yytranslate[x] : 65) |
| #define | YYLAST 140 |
| #define | YYSTACK_ALLOC malloc |
| #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 yyerrlab1 |
| #define | YYFAIL goto yyerrlab |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYBACKUP(token, value) |
| #define | YYTERROR 1 |
| #define | YYERRCODE 256 |
| #define | YYLEX yylex() |
| #define | YYINITDEPTH 200 |
| #define | YYMAXDEPTH 10000 |
| #define | YYPARSE_PARAM_ARG |
| #define | YYPARSE_PARAM_DECL |
| #define | YYPOPSTACK (yyvsp--, yyssp--) |
Functions | |
| int | yylex (void) |
| void | yyflush_current_buffer (void) |
| static void | yyerror (const char *) |
| static void | __yy_memcpy (to, from, count) char *to |
Variables | |
| static const char | yytranslate [] |
| static const short | yyr1 [] |
| static const short | yyr2 [] |
| static const short | yydefact [] |
| static const short | yydefgoto [] |
| static const short | yypact [] |
| static const short | yypgoto [] |
| static const short | yytable [] |
| static const short | yycheck [] |
| int | yychar |
| YYSTYPE | yylval |
| YYSTYPE | yyval |
| int | yynerrs |
| char * | from |
| unsigned int | count |
| #define const |
Definition at line 92 of file ETCL_y.cpp.
| #define ETCL_AND 265 |
Definition at line 16 of file ETCL_y.cpp.
| #define ETCL_BOOLEAN 270 |
Definition at line 21 of file ETCL_y.cpp.
| #define ETCL_COMPONENT 288 |
Definition at line 39 of file ETCL_y.cpp.
| #define ETCL_CONSTRAINT 287 |
Definition at line 38 of file ETCL_y.cpp.
| #define ETCL_DEFAULT 264 |
Definition at line 15 of file ETCL_y.cpp.
| #define ETCL_DISCRIMINANT 296 |
Definition at line 47 of file ETCL_y.cpp.
| #define ETCL_DIV 274 |
Definition at line 25 of file ETCL_y.cpp.
| #define ETCL_DOLLAR 294 |
Definition at line 45 of file ETCL_y.cpp.
| #define ETCL_DOT 295 |
Definition at line 46 of file ETCL_y.cpp.
| #define ETCL_DOUBLE 286 |
Definition at line 37 of file ETCL_y.cpp.
| #define ETCL_EQ 261 |
Definition at line 12 of file ETCL_y.cpp.
| #define ETCL_EXIST 263 |
Definition at line 14 of file ETCL_y.cpp.
| #define ETCL_FIRST 292 |
Definition at line 43 of file ETCL_y.cpp.
| #define ETCL_FLOAT 277 |
Definition at line 28 of file ETCL_y.cpp.
| #define ETCL_GE 258 |
Definition at line 9 of file ETCL_y.cpp.
| #define ETCL_GT 257 |
Definition at line 8 of file ETCL_y.cpp.
| #define ETCL_IDENT 283 |
Definition at line 34 of file ETCL_y.cpp.
| #define ETCL_IN 268 |
Definition at line 19 of file ETCL_y.cpp.
| #define ETCL_INTEGER 276 |
Definition at line 27 of file ETCL_y.cpp.
| #define ETCL_LBRA 282 |
Definition at line 33 of file ETCL_y.cpp.
| #define ETCL_LE 260 |
Definition at line 11 of file ETCL_y.cpp.
| #define ETCL_LENGTH 297 |
Definition at line 48 of file ETCL_y.cpp.
| #define ETCL_LPAREN 280 |
Definition at line 31 of file ETCL_y.cpp.
| #define ETCL_LT 259 |
Definition at line 10 of file ETCL_y.cpp.
| #define ETCL_MAX 290 |
Definition at line 41 of file ETCL_y.cpp.
| #define ETCL_MIN 291 |
Definition at line 42 of file ETCL_y.cpp.
| #define ETCL_MINUS 272 |
Definition at line 23 of file ETCL_y.cpp.
| #define ETCL_MULT 273 |
Definition at line 24 of file ETCL_y.cpp.
| #define ETCL_NE 262 |
Definition at line 13 of file ETCL_y.cpp.
| #define ETCL_NOT 267 |
Definition at line 18 of file ETCL_y.cpp.
| #define ETCL_OR 266 |
Definition at line 17 of file ETCL_y.cpp.
| #define ETCL_PLUS 271 |
Definition at line 22 of file ETCL_y.cpp.
| #define ETCL_RANDOM 293 |
Definition at line 44 of file ETCL_y.cpp.
| #define ETCL_RBRA 281 |
Definition at line 32 of file ETCL_y.cpp.
| #define ETCL_REPOS_ID 299 |
Definition at line 50 of file ETCL_y.cpp.
| #define ETCL_RPAREN 279 |
Definition at line 30 of file ETCL_y.cpp.
| #define ETCL_SIGNED 285 |
Definition at line 36 of file ETCL_y.cpp.
| #define ETCL_STRING 278 |
Definition at line 29 of file ETCL_y.cpp.
| #define ETCL_TWIDDLE 269 |
Definition at line 20 of file ETCL_y.cpp.
| #define ETCL_TYPE_ID 298 |
Definition at line 49 of file ETCL_y.cpp.
| #define ETCL_UMINUS 275 |
Definition at line 26 of file ETCL_y.cpp.
| #define ETCL_UNSIGNED 284 |
Definition at line 35 of file ETCL_y.cpp.
| #define ETCL_WITH 289 |
Definition at line 40 of file ETCL_y.cpp.
| #define YYABORT goto yyabortlab |
Definition at line 392 of file ETCL_y.cpp.
| #define YYACCEPT goto yyacceptlab |
Definition at line 391 of file ETCL_y.cpp.
| #define YYBACKUP | ( | token, | ||
| value | ||||
| ) |
do \ if (yychar == YYEMPTY && yylen == 1) \ { yychar = (token), yylval = (value); \ yychar1 = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ { yyerror ("syntax error: cannot back up"); YYERROR; } \ while (0)
Definition at line 400 of file ETCL_y.cpp.
| #define YYBISON 1 |
Definition at line 6 of file ETCL_y.cpp.
| #define yyclearin (yychar = YYEMPTY) |
Definition at line 388 of file ETCL_y.cpp.
| #define YYEMPTY -2 |
Definition at line 389 of file ETCL_y.cpp.
| #define YYEOF 0 |
Definition at line 390 of file ETCL_y.cpp.
| #define YYERRCODE 256 |
Definition at line 413 of file ETCL_y.cpp.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 387 of file ETCL_y.cpp.
| #define YYERROR goto yyerrlab1 |
Definition at line 393 of file ETCL_y.cpp.
| #define YYFAIL goto yyerrlab |
Definition at line 398 of file ETCL_y.cpp.
| #define YYFINAL 114 |
Definition at line 98 of file ETCL_y.cpp.
| #define YYFLAG -32768 |
Definition at line 99 of file ETCL_y.cpp.
| #define YYINITDEPTH 200 |
Definition at line 466 of file ETCL_y.cpp.
| #define YYLAST 140 |
Definition at line 265 of file ETCL_y.cpp.
| #define YYLEX yylex() |
Definition at line 416 of file ETCL_y.cpp.
| #define YYMAXDEPTH 10000 |
Definition at line 477 of file ETCL_y.cpp.
| #define YYNTBASE 46 |
Definition at line 100 of file ETCL_y.cpp.
| #define YYPARSE_PARAM_ARG |
| #define YYPARSE_PARAM_DECL |
| #define YYPOPSTACK (yyvsp--, yyssp--) |
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 399 of file ETCL_y.cpp.
| #define YYSTACK_ALLOC malloc |
Definition at line 380 of file ETCL_y.cpp.
| #define YYTERROR 1 |
Definition at line 412 of file ETCL_y.cpp.
| #define YYTRANSLATE | ( | x | ) | ((unsigned)(x) <= 299 ? yytranslate[x] : 65) |
Definition at line 102 of file ETCL_y.cpp.
| static void yyerror | ( | const char * | ) | [static] |
Definition at line 78 of file ETCL_y.cpp.
{
// @@ TODO
// Ignore error messages
}
| void yyflush_current_buffer | ( | void | ) |
| int yylex | ( | void | ) |
| unsigned int count |
Definition at line 496 of file ETCL_y.cpp.
| char* from |
Definition at line 495 of file ETCL_y.cpp.
| int yychar |
Definition at line 441 of file ETCL_y.cpp.
const short yycheck[] [static] |
{ 17,
40, 17, 29, 30, 70, 12, 72, 26, 14, 28,
29, 29, 30, 29, 30, 29, 26, 11, 28, 29,
22, 40, 41, 26, 26, 28, 40, 29, 55, 95,
96, 41, 12, 15, 29, 17, 18, 55, 41, 55,
42, 43, 44, 45, 110, 25, 22, 17, 18, 9,
10, 25, 22, 13, 24, 27, 16, 17, 18, 22,
23, 88, 22, 23, 24, 22, 26, 22, 23, 29,
88, 22, 88, 19, 20, 35, 36, 37, 38, 39,
40, 9, 10, 17, 18, 13, 57, 58, 16, 17,
18, 59, 60, 25, 22, 23, 24, 0, 26, 0,
47, 29, 9, 10, 10, 48, 12, 13, 14, 16,
17, 18, 40, 3, 56, 22, 23, 24, 66, 26,
-1, -1, 29, 3, 4, 5, 6, 7, 8, -1,
-1, -1, -1, 40, 49, 50, 51, 52, 53, 54
}
Definition at line 285 of file ETCL_y.cpp.
const short yydefact[] [static] |
{ 0,
0, 0, 0, 40, 0, 0, 33, 36, 39, 0,
45, 0, 0, 0, 6, 7, 46, 2, 1, 9,
11, 18, 21, 23, 26, 29, 31, 41, 46, 46,
30, 34, 37, 35, 38, 0, 5, 4, 3, 0,
0, 51, 0, 44, 49, 50, 0, 0, 0, 0,
0, 0, 0, 0, 46, 0, 0, 0, 0, 0,
42, 43, 32, 0, 0, 0, 48, 53, 54, 51,
66, 51, 57, 56, 58, 59, 47, 60, 61, 8,
10, 14, 15, 16, 17, 12, 13, 46, 19, 22,
24, 25, 27, 28, 51, 51, 52, 64, 0, 0,
67, 70, 0, 55, 20, 63, 62, 68, 69, 51,
65, 0, 0, 0
}
Definition at line 224 of file ETCL_y.cpp.
const short yydefgoto[] [static] |
{ 112,
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
44, 67, 77, 68, 69, 78, 79, 103
}
Definition at line 239 of file ETCL_y.cpp.
Definition at line 442 of file ETCL_y.cpp.
| int yynerrs |
Definition at line 454 of file ETCL_y.cpp.
const short yypact[] [static] |
{ 41,
-13, -39, 94,-32768, 38, 46,-32768,-32768,-32768, 73,
-32768, 73, 73, 73,-32768,-32768, -9,-32768, -6, 7,
-32768, 121, -5, 19, 55,-32768,-32768,-32768, -9, -9,
-32768,-32768,-32768,-32768,-32768, 21, -6, -6, -6, 6,
25, -2, -1,-32768,-32768,-32768, 73, 73, 73, 73,
73, 73, 73, 73, -18, 73, 73, 73, 73, 73,
-32768,-32768,-32768, 27, 29, -1,-32768,-32768,-32768, -2,
31, -2,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 7,
-32768,-32768,-32768,-32768,-32768,-32768,-32768, -9,-32768, 67,
55, 55,-32768,-32768, -2, -2,-32768,-32768, 44, 50,
-32768,-32768, 69,-32768,-32768,-32768,-32768,-32768,-32768, -2,
-32768, 98, 100,-32768
}
Definition at line 244 of file ETCL_y.cpp.
const short yypgoto[] [static] |
{-32768,
-32768, 95, 54, 58, 86,-32768, 59, 30, 33, 111,
-26, -65, 53, -17, -15,-32768,-32768,-32768
}
Definition at line 259 of file ETCL_y.cpp.
const short yyr1[] [static] |
{ 0,
46, 46, 47, 47, 47, 47, 47, 48, 48, 49,
49, 50, 50, 50, 50, 50, 50, 50, 51, 51,
51, 52, 52, 53, 53, 53, 54, 54, 54, 55,
55, 56, 56, 56, 56, 56, 56, 56, 56, 56,
56, 56, 56, 56, 56, 57, 57, 57, 57, 57,
58, 58, 58, 58, 59, 59, 59, 59, 59, 59,
59, 60, 61, 62, 63, 64, 64, 64, 64, 64
}
Definition at line 204 of file ETCL_y.cpp.
const short yyr2[] [static] |
{ 0,
1, 1, 2, 2, 2, 1, 1, 3, 1, 3,
1, 3, 3, 3, 3, 3, 3, 1, 3, 4,
1, 3, 1, 3, 3, 1, 3, 3, 1, 2,
1, 3, 1, 2, 2, 1, 2, 2, 1, 1,
2, 3, 3, 2, 1, 0, 2, 2, 1, 1,
0, 2, 1, 1, 2, 1, 1, 1, 1, 1,
1, 4, 4, 2, 4, 0, 1, 2, 2, 1
}
Definition at line 214 of file ETCL_y.cpp.
const short yytable[] [static] |
{ 45,
30, 46, 61, 62, 98, 47, 104, 40, 55, 41,
42, 45, 45, 46, 46, 28, 40, 48, 41, 42,
70, 88, 43, 40, 71, 41, 29, 72, 89, 106,
107, 43, 47, 56, 64, 57, 58, 45, 66, 46,
73, 74, 75, 76, 111, 63, 65, 99, 100, 1,
2, 95, 101, 3, 102, 96, 4, 5, 6, 32,
33, 105, 7, 8, 9, 108, 10, 34, 35, 11,
45, 109, 46, 59, 60, 12, 13, 14, 15, 16,
17, 1, 2, 57, 58, 3, 91, 92, 4, 5,
6, 93, 94, 110, 7, 8, 9, 113, 10, 114,
80, 11, 1, 2, 36, 81, 37, 38, 39, 4,
5, 6, 17, 31, 90, 7, 8, 9, 97, 10,
0, 0, 11, 49, 50, 51, 52, 53, 54, 0,
0, 0, 0, 17, 82, 83, 84, 85, 86, 87
}
Definition at line 268 of file ETCL_y.cpp.
const char yytranslate[] [static] |
Definition at line 104 of file ETCL_y.cpp.
Definition at line 444 of file ETCL_y.cpp.
1.7.0