#include <stdio.h>#include <unistd.h>#include "SAMRAI_config.h"#include <stdlib.h>#include "tbox/Complex.h"#include "tbox/Parser.h"#include <string>#include "Grammar.h"Classes | |
| struct | yy_buffer_state |
Defines | |
| #define | FLEX_SCANNER |
| #define | YY_FLEX_MAJOR_VERSION 2 |
| #define | YY_FLEX_MINOR_VERSION 5 |
| #define | yyconst |
| #define | YY_PROTO(proto) () |
| #define | YY_NULL 0 |
| #define | YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
| #define | BEGIN yy_start = 1 + 2 * |
| #define | YY_START ((yy_start - 1) / 2) |
| #define | YYSTATE YY_START |
| #define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
| #define | YY_NEW_FILE yyrestart( yyin ) |
| #define | YY_END_OF_BUFFER_CHAR 0 |
| #define | YY_BUF_SIZE 16384 |
| #define | EOB_ACT_CONTINUE_SCAN 0 |
| #define | EOB_ACT_END_OF_FILE 1 |
| #define | EOB_ACT_LAST_MATCH 2 |
| #define | yyless(n) |
| #define | unput(c) yyunput( c, yytext_ptr ) |
| #define | YY_BUFFER_NEW 0 |
| #define | YY_BUFFER_NORMAL 1 |
| #define | YY_BUFFER_EOF_PENDING 2 |
| #define | YY_CURRENT_BUFFER yy_current_buffer |
| #define | YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) |
| #define | yy_new_buffer yy_create_buffer |
| #define | yy_set_interactive(is_interactive) |
| #define | yy_set_bol(at_bol) |
| #define | YY_AT_BOL() (yy_current_buffer->yy_at_bol) |
| #define | yywrap() 1 |
| #define | YY_SKIP_YYWRAP |
| #define | yytext_ptr yytext |
| #define | YY_DO_BEFORE_ACTION |
| #define | YY_NUM_RULES 43 |
| #define | YY_END_OF_BUFFER 44 |
| #define | REJECT reject_used_but_not_detected |
| #define | yymore() yymore_used_but_not_detected |
| #define | YY_MORE_ADJ 0 |
| #define | YY_RESTORE_YY_MORE_OFFSET |
| #define | INITIAL 0 |
| #define | YY_NEVER_INTERACTIVE 1 |
| #define | YY_NO_UNPUT 1 |
| #define | YY_INPUT(b, r, s) r = Parser::getParser()->yyinput(b, s) |
| #define | TOKEN(T) |
| #define | MAXIMUM_INCLUDE_DEPTH 16 |
| #define | COMMENT 1 |
| #define | YY_NO_PUSH_STATE 1 |
| #define | YY_NO_POP_STATE 1 |
| #define | YY_NO_TOP_STATE 1 |
| #define | YY_READ_BUF_SIZE 8192 |
| #define | ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
| #define | yyterminate() return YY_NULL |
| #define | YY_START_STACK_INCR 25 |
| #define | YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
| #define | YY_DECL int yylex YY_PROTO(( void )) |
| #define | YY_BREAK break; |
| #define | YY_RULE_SETUP YY_USER_ACTION |
| #define | YY_EXIT_FAILURE 2 |
| #define | yyless(n) |
Typedefs | |
| typedef yy_buffer_state * | YY_BUFFER_STATE |
| typedef unsigned int | yy_size_t |
| typedef unsigned char | YY_CHAR |
| typedef int | yy_state_type |
Functions | |
| void | yyrestart () |
| void | yy_switch_to_buffer () |
| void | yy_load_buffer_state () |
| YY_BUFFER_STATE | yy_create_buffer () |
| void | yy_delete_buffer () |
| void | yy_init_buffer () |
| void | yy_flush_buffer () |
| YY_BUFFER_STATE | yy_scan_buffer () |
| YY_BUFFER_STATE | yy_scan_string () |
| YY_BUFFER_STATE | yy_scan_bytes () |
| static void * | yy_flex_alloc () |
| static void * | yy_flex_realloc () |
| static void | yy_flex_free () |
| static yy_state_type | yy_get_previous_state () |
| static yy_state_type | yy_try_NUL_trans () |
| static int | yy_get_next_buffer () |
| static void | yy_fatal_error () |
| static int | input () |
| int | yylex () |
| static yy_state_type | yy_try_NUL_trans (yy_state_type yy_current_state) |
| void | yyrestart (FILE *input_file) |
| void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
| YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
| void | yy_delete_buffer (YY_BUFFER_STATE b) |
| void | yy_init_buffer (YY_BUFFER_STATE b, FILE *file) |
| void | yy_flush_buffer (YY_BUFFER_STATE b) |
| YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
| YY_BUFFER_STATE | yy_scan_string (char *yy_str) |
| YY_BUFFER_STATE | yy_scan_bytes (char *bytes, int len) |
| static void | yy_fatal_error (msg) |
| static void * | yy_flex_alloc (yy_size_t size) |
| static void * | yy_flex_realloc (void *ptr, yy_size_t size) |
| static void | yy_flex_free (void *ptr) |
Variables | |
| int | yyleng |
| FILE * | yyin |
| FILE * | yyout |
| static YY_BUFFER_STATE | yy_current_buffer = 0 |
| static char | yy_hold_char |
| static int | yy_n_chars |
| int | yyleng |
| static char * | yy_c_buf_p = (char *) 0 |
| static int | yy_init = 1 |
| static int | yy_start = 0 |
| static int | yy_did_buffer_switch_on_eof |
| FILE * | yyin = (FILE *) 0 |
| FILE * | yyout = (FILE *) 0 |
| char * | yytext |
| static short int | yy_accept [96] |
| static int | yy_ec [256] |
| static int | yy_meta [47] |
| static short int | yy_base [103] |
| static short int | yy_def [103] |
| static short int | yy_nxt [206] |
| static short int | yy_chk [206] |
| static yy_state_type | yy_last_accepting_state |
| static char * | yy_last_accepting_cpos |
| char * | yytext |
| static YY_BUFFER_STATE | s_include_stack [16] |
| static int | s_include_stack_top = 0 |
| #define FLEX_SCANNER |
| #define YY_FLEX_MAJOR_VERSION 2 |
| #define YY_FLEX_MINOR_VERSION 5 |
| #define yyconst |
| #define YY_PROTO | ( | proto | ) | () |
| #define YY_NULL 0 |
| #define BEGIN yy_start = 1 + 2 * |
| #define YY_START ((yy_start - 1) / 2) |
| #define YYSTATE YY_START |
| #define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
| #define YY_NEW_FILE yyrestart( yyin ) |
| #define YY_END_OF_BUFFER_CHAR 0 |
| #define YY_BUF_SIZE 16384 |
| #define EOB_ACT_CONTINUE_SCAN 0 |
| #define EOB_ACT_END_OF_FILE 1 |
| #define EOB_ACT_LAST_MATCH 2 |
| #define yyless | ( | n | ) |
Value:
do \ { \ /* Undo effects of setting up yytext. */ \ *yy_cp = yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION /* set up yytext again */ \ } \ while ( 0 )
| #define YY_BUFFER_NEW 0 |
| #define YY_BUFFER_NORMAL 1 |
| #define YY_BUFFER_EOF_PENDING 2 |
| #define YY_CURRENT_BUFFER yy_current_buffer |
| #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) |
| #define yy_new_buffer yy_create_buffer |
| #define yy_set_interactive | ( | is_interactive | ) |
Value:
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}
| #define yy_set_bol | ( | at_bol | ) |
Value:
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}
| #define YY_AT_BOL | ( | ) | (yy_current_buffer->yy_at_bol) |
| #define yywrap | ( | ) | 1 |
| #define YY_SKIP_YYWRAP |
| #define yytext_ptr yytext |
| #define YY_DO_BEFORE_ACTION |
Value:
yytext_ptr = yy_bp; \ yyleng = (int) (yy_cp - yy_bp); \ yy_hold_char = *yy_cp; \ *yy_cp = '\0'; \ yy_c_buf_p = yy_cp;
| #define YY_NUM_RULES 43 |
| #define YY_END_OF_BUFFER 44 |
| #define REJECT reject_used_but_not_detected |
| #define yymore | ( | ) | yymore_used_but_not_detected |
| #define YY_MORE_ADJ 0 |
| #define YY_RESTORE_YY_MORE_OFFSET |
| #define INITIAL 0 |
| #define YY_NEVER_INTERACTIVE 1 |
| #define YY_NO_UNPUT 1 |
| #define TOKEN | ( | T | ) |
Value:
{ \
Parser::getParser()->advanceCursor(yytext); \
return(T); \
}
| #define MAXIMUM_INCLUDE_DEPTH 16 |
| #define COMMENT 1 |
| #define YY_NO_PUSH_STATE 1 |
| #define YY_NO_POP_STATE 1 |
| #define YY_NO_TOP_STATE 1 |
| #define YY_READ_BUF_SIZE 8192 |
| #define yyterminate | ( | ) | return YY_NULL |
| #define YY_START_STACK_INCR 25 |
| #define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
| #define YY_DECL int yylex YY_PROTO(( void )) |
| #define YY_BREAK break; |
| #define YY_RULE_SETUP YY_USER_ACTION |
| #define YY_EXIT_FAILURE 2 |
| #define yyless | ( | n | ) |
Value:
do \ { \ /* Undo effects of setting up yytext. */ \ yytext[yyleng] = yy_hold_char; \ yy_c_buf_p = yytext + n; \ yy_hold_char = *yy_c_buf_p; \ *yy_c_buf_p = '\0'; \ yyleng = n; \ } \ while ( 0 )
| typedef struct yy_buffer_state* YY_BUFFER_STATE |
| typedef unsigned int yy_size_t |
| typedef unsigned char YY_CHAR |
| typedef int yy_state_type |
| void yyrestart | ( | ) |
| void yy_switch_to_buffer | ( | ) |
| void yy_load_buffer_state | ( | ) |
| YY_BUFFER_STATE yy_create_buffer | ( | ) |
| void yy_delete_buffer | ( | ) |
| void yy_init_buffer | ( | ) |
| void yy_flush_buffer | ( | ) |
| YY_BUFFER_STATE yy_scan_buffer | ( | ) |
| YY_BUFFER_STATE yy_scan_string | ( | ) |
| YY_BUFFER_STATE yy_scan_bytes | ( | ) |
| static void* yy_flex_alloc | ( | ) | [static] |
| static void* yy_flex_realloc | ( | ) | [static] |
| static void yy_flex_free | ( | ) | [static] |
| static yy_state_type yy_get_previous_state | ( | ) | [static] |
| static yy_state_type yy_try_NUL_trans | ( | ) | [static] |
| static int yy_get_next_buffer | ( | ) | [static] |
| static void yy_fatal_error | ( | ) | [static] |
| static int input | ( | ) | [static] |
| int yylex | ( | ) |
| static yy_state_type yy_try_NUL_trans | ( | yy_state_type | yy_current_state | ) | [static] |
| void yyrestart | ( | FILE * | input_file | ) |
| void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
| YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, | |
| int | size | |||
| ) |
| void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
| void yy_init_buffer | ( | YY_BUFFER_STATE | b, | |
| FILE * | file | |||
| ) |
| void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
| YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, | |
| yy_size_t | size | |||
| ) |
| YY_BUFFER_STATE yy_scan_string | ( | char * | yy_str | ) |
| YY_BUFFER_STATE yy_scan_bytes | ( | char * | bytes, | |
| int | len | |||
| ) |
| static void yy_fatal_error | ( | msg | ) | [static] |
| static void* yy_flex_alloc | ( | yy_size_t | size | ) | [static] |
| static void* yy_flex_realloc | ( | void * | ptr, | |
| yy_size_t | size | |||
| ) | [static] |
| static void yy_flex_free | ( | void * | ptr | ) | [static] |
| int yyleng |
| FILE* yyin |
| FILE * yyout |
YY_BUFFER_STATE yy_current_buffer = 0 [static] |
char yy_hold_char [static] |
int yy_n_chars [static] |
| int yyleng |
char* yy_c_buf_p = (char *) 0 [static] |
int yy_init = 1 [static] |
int yy_start = 0 [static] |
int yy_did_buffer_switch_on_eof [static] |
| FILE* yyin = (FILE *) 0 |
| FILE * yyout = (FILE *) 0 |
| char* yytext |
short int yy_accept[96] [static] |
Initial value:
{ 0,
0, 0, 0, 0, 44, 42, 33, 34, 18, 42,
42, 42, 42, 22, 4, 17, 24, 6, 16, 31,
7, 29, 8, 26, 15, 2, 13, 25, 30, 30,
30, 23, 5, 10, 21, 42, 3, 41, 39, 41,
41, 33, 34, 19, 0, 32, 0, 1, 0, 31,
29, 31, 0, 37, 0, 31, 0, 14, 9, 12,
30, 30, 30, 20, 40, 38, 0, 28, 0, 31,
0, 36, 31, 0, 0, 31, 30, 30, 0, 0,
31, 30, 27, 0, 11, 0, 0, 0, 0, 0,
0, 0, 0, 35, 0
}
int yy_ec[256] [static] |
int yy_meta[47] [static] |
Initial value:
{ 0,
1, 1, 2, 1, 3, 1, 1, 4, 1, 1,
1, 1, 1, 1, 1, 1, 5, 1, 1, 1,
1, 1, 1, 5, 5, 5, 5, 5, 5, 5,
5, 5, 1, 1, 1, 5, 5, 5, 5, 5,
5, 5, 5, 1, 1, 1
}
short int yy_base[103] [static] |
Initial value:
{ 0,
0, 0, 44, 45, 158, 159, 155, 0, 135, 150,
114, 146, 0, 159, 159, 159, 159, 159, 34, 33,
41, 47, 159, 159, 131, 130, 129, 159, 0, 125,
119, 159, 159, 159, 159, 102, 159, 159, 159, 130,
134, 142, 0, 159, 138, 159, 100, 159, 133, 37,
51, 41, 57, 159, 137, 53, 70, 159, 159, 159,
0, 111, 106, 159, 159, 159, 98, 159, 117, 109,
116, 159, 68, 79, 97, 89, 75, 78, 62, 85,
84, 74, 0, 56, 0, 57, 44, 79, 73, 0,
60, 86, 95, 159, 159, 107, 112, 117, 122, 48,
127, 132
}
short int yy_def[103] [static] |
Initial value:
{ 0,
95, 1, 96, 96, 95, 95, 95, 97, 95, 98,
95, 95, 99, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 100, 100,
100, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 97, 95, 98, 95, 95, 95, 95, 95,
95, 95, 95, 95, 101, 95, 95, 95, 95, 95,
100, 100, 100, 95, 95, 95, 95, 95, 95, 95,
101, 95, 95, 95, 95, 95, 100, 100, 95, 95,
95, 100, 100, 95, 100, 95, 95, 95, 95, 102,
102, 95, 95, 95, 0, 95, 95, 95, 95, 95,
95, 95
}
short int yy_nxt[206] [static] |
Initial value:
{ 0,
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 29, 29, 30, 29, 29, 29,
31, 29, 32, 33, 34, 6, 29, 29, 29, 29,
29, 29, 29, 35, 36, 37, 39, 39, 50, 52,
51, 54, 61, 52, 40, 40, 55, 52, 53, 41,
41, 56, 53, 51, 92, 56, 53, 51, 69, 73,
69, 53, 57, 70, 89, 53, 57, 90, 74, 53,
89, 75, 88, 75, 73, 57, 76, 93, 94, 57,
80, 74, 80, 74, 87, 81, 93, 94, 86, 85,
81, 81, 84, 83, 82, 76, 74, 38, 38, 38,
38, 38, 43, 76, 43, 43, 43, 45, 72, 45,
45, 45, 49, 49, 49, 70, 49, 71, 71, 71,
71, 71, 91, 70, 79, 91, 91, 78, 77, 72,
68, 67, 46, 42, 66, 65, 64, 63, 62, 60,
59, 58, 48, 47, 46, 44, 42, 95, 5, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95
}
short int yy_chk[206] [static] |
Initial value:
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 3, 4, 19, 20,
19, 21, 100, 50, 3, 4, 21, 52, 20, 3,
4, 22, 50, 22, 91, 51, 52, 51, 53, 56,
53, 20, 22, 53, 89, 50, 51, 89, 56, 52,
88, 57, 87, 57, 73, 22, 57, 92, 92, 51,
74, 56, 74, 73, 86, 74, 93, 93, 84, 82,
81, 80, 79, 78, 77, 76, 73, 96, 96, 96,
96, 96, 97, 75, 97, 97, 97, 98, 71, 98,
98, 98, 99, 99, 99, 70, 99, 101, 101, 101,
101, 101, 102, 69, 67, 102, 102, 63, 62, 55,
49, 47, 45, 42, 41, 40, 36, 31, 30, 27,
26, 25, 12, 11, 10, 9, 7, 5, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95
}
yy_state_type yy_last_accepting_state [static] |
char* yy_last_accepting_cpos [static] |
| char* yytext |
YY_BUFFER_STATE s_include_stack[16] [static] |
int s_include_stack_top = 0 [static] |
1.5.1