#include <stdio.h>#include <stdlib.h>#include <string.h>#include "AtomParser.h"#include "y.tab.h"#include "Inform.h"#include "SymbolTable.h"Go to the source code of this file.
Compounds | |
| struct | yy_buffer_state |
Defines | |
| #define | FLEX_SCANNER |
| #define | YY_FLEX_MAJOR_VERSION 2 |
| #define | YY_FLEX_MINOR_VERSION 5 |
| #define | YY_USE_PROTOS |
| #define | YY_USE_CONST |
| #define | yyconst const |
| #define | YY_PROTO(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 | yytext_ptr yytext |
| #define | YY_DO_BEFORE_ACTION |
| #define | YY_NUM_RULES 46 |
| #define | YY_END_OF_BUFFER 47 |
| #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_ALWAYS_INTERACTIVE 1 |
| #define | YY_DECL extern "C" int yylex YY_PROTO(( void )) |
| #define | YY_INPUT(buf, result, max) |
| #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_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 | YY_PROTO ((FILE *input_file)) |
| void yy_switch_to_buffer | YY_PROTO ((YY_BUFFER_STATE new_buffer)) |
| void yy_load_buffer_state | YY_PROTO ((void)) |
| YY_BUFFER_STATE yy_create_buffer | YY_PROTO ((FILE *file, int size)) |
| void yy_delete_buffer | YY_PROTO ((YY_BUFFER_STATE b)) |
| void yy_init_buffer | YY_PROTO ((YY_BUFFER_STATE b, FILE *file)) |
| YY_BUFFER_STATE yy_scan_buffer | YY_PROTO ((char *base, yy_size_t size)) |
| YY_BUFFER_STATE yy_scan_string | YY_PROTO ((yyconst char *yy_str)) |
| YY_BUFFER_STATE yy_scan_bytes | YY_PROTO ((yyconst char *bytes, int len)) |
| void *yy_flex_alloc | YY_PROTO ((yy_size_t)) |
| void *yy_flex_realloc | YY_PROTO ((void *, yy_size_t)) |
| void yy_flex_free | YY_PROTO ((void *)) |
| yy_state_type yy_try_NUL_trans | YY_PROTO ((yy_state_type current_state)) |
| void yy_fatal_error | YY_PROTO ((yyconst char msg[])) |
| void yyunput | YY_PROTO ((int c, char *buf_ptr)) |
Variables | |
| int | yyleng |
| FILE * | yyin = (FILE *) 0 |
| FILE * | yyout = (FILE *) 0 |
| YY_BUFFER_STATE | yy_current_buffer = 0 |
| char | yy_hold_char |
| int | yy_n_chars |
| char * | yy_c_buf_p = (char *) 0 |
| int | yy_init = 1 |
| int | yy_start = 0 |
| int | yy_did_buffer_switch_on_eof |
| char * | yytext |
| yyconst short int | yy_accept [122] |
| yyconst int | yy_ec [256] |
| yyconst int | yy_meta [50] |
| yyconst short int | yy_base [134] |
| yyconst short int | yy_def [134] |
| yyconst short int | yy_nxt [341] |
| yyconst short int | yy_chk [341] |
| yy_state_type | yy_last_accepting_state |
| char * | yy_last_accepting_cpos |
| SymbolTable * | atomparser_symbols |
| contains the list of the functions and keywords. More... | |
|
|
Definition at line 80 of file AtomLexer.C. |
|
|
Definition at line 657 of file AtomLexer.C. |
|
|
Definition at line 105 of file AtomLexer.C. |
|
|
Definition at line 106 of file AtomLexer.C. |
|
|
Definition at line 107 of file AtomLexer.C. |
|
|
Definition at line 7 of file AtomLexer.C. |
|
|
Definition at line 479 of file AtomLexer.C. |
|
|
Definition at line 473 of file AtomLexer.C. |
|
|
Definition at line 136 of file AtomLexer.C. |
|
|
Definition at line 507 of file AtomLexer.C. |
|
|
Definition at line 263 of file AtomLexer.C. |
|
|
Definition at line 716 of file AtomLexer.C. |
|
|
Definition at line 98 of file AtomLexer.C. |
|
|
Definition at line 199 of file AtomLexer.C. |
|
|
Definition at line 187 of file AtomLexer.C. |
|
|
Definition at line 188 of file AtomLexer.C. |
|
|
Definition at line 208 of file AtomLexer.C. |
|
|
Definition at line 526 of file AtomLexer.C. |
|
|
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; Definition at line 279 of file AtomLexer.C. |
|
|
Definition at line 287 of file AtomLexer.C. |
|
|
Definition at line 95 of file AtomLexer.C. |
|
|
|
|
|
Definition at line 697 of file AtomLexer.C. |
|
|
Definition at line 8 of file AtomLexer.C. |
|
|
Definition at line 9 of file AtomLexer.C. |
|
|
Definition at line 237 of file AtomLexer.C. |
|
|
Value: { \
int c = *atomparser_yystring; \
result = (c == 0) ? YY_NULL : \
(buf[0] = c, atomparser_yystring++, 1); \
}Definition at line 530 of file AtomLexer.C. |
|
|
Definition at line 475 of file AtomLexer.C. |
|
|
Definition at line 247 of file AtomLexer.C. |
|
|
Definition at line 93 of file AtomLexer.C. |
|
|
Definition at line 627 of file AtomLexer.C. |
|
|
Definition at line 626 of file AtomLexer.C. |
|
|
Definition at line 628 of file AtomLexer.C. |
|
|
Definition at line 67 of file AtomLexer.C. |
|
|
Definition at line 286 of file AtomLexer.C. |
|
|
Definition at line 61 of file AtomLexer.C. |
|
|
Definition at line 648 of file AtomLexer.C. |
|
|
Definition at line 476 of file AtomLexer.C. |
|
|
Definition at line 719 of file AtomLexer.C. |
|
|
Definition at line 74 of file AtomLexer.C. |
|
|
Value: { \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}Definition at line 256 of file AtomLexer.C. |
|
|
Value: { \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}Definition at line 249 of file AtomLexer.C. |
|
|
Definition at line 86 of file AtomLexer.C. |
|
|
Definition at line 692 of file AtomLexer.C. |
|
|
Definition at line 90 of file AtomLexer.C. |
|
|
Definition at line 39 of file AtomLexer.C. |
|
|
Definition at line 38 of file AtomLexer.C. |
|
|
Definition at line 54 of file AtomLexer.C. |
|
|
Value: do \
{ \
\
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 )Definition at line 125 of file AtomLexer.C. |
|
|
Value: do \
{ \
\
*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; \
} \
while ( 0 )Definition at line 125 of file AtomLexer.C. |
|
|
Definition at line 474 of file AtomLexer.C. |
|
|
Definition at line 87 of file AtomLexer.C. |
|
|
Definition at line 687 of file AtomLexer.C. |
|
|
Definition at line 269 of file AtomLexer.C. |
|
|
Definition at line 100 of file AtomLexer.C. |
|
|
Definition at line 265 of file AtomLexer.C. |
|
|
Definition at line 142 of file AtomLexer.C. |
|
|
Definition at line 267 of file AtomLexer.C. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
contains the list of the functions and keywords.
Definition at line 2017 of file AtomLexer.C. |
|
|
Initial value:
{ 0,
0, 0, 47, 45, 41, 41, 45, 18, 44, 38,
45, 19, 2, 3, 37, 34, 35, 45, 36, 43,
15, 20, 23, 25, 44, 44, 39, 44, 44, 44,
44, 44, 44, 44, 44, 44, 44, 45, 26, 18,
16, 18, 44, 4, 19, 17, 19, 40, 0, 1,
42, 1, 43, 21, 22, 33, 24, 44, 42, 44,
44, 44, 12, 29, 44, 30, 31, 28, 27, 32,
44, 10, 5, 44, 44, 13, 44, 44, 5, 16,
18, 17, 19, 13, 0, 42, 42, 42, 42, 4,
44, 6, 44, 44, 44, 44, 0, 0, 0, 0,
0, 1, 44, 44, 11, 44, 44, 0, 0, 44,
44, 14, 44, 44, 44, 7, 44, 44, 8, 9,
0
}Definition at line 288 of file AtomLexer.C. |
|
|
Initial value:
{ 0,
0, 0, 275, 291, 291, 291, 252, 45, 0, 291,
261, 42, 291, 291, 242, 291, 291, 37, 291, 38,
291, 233, 36, 232, 0, 52, 291, 54, 35, 36,
44, 46, 58, 64, 66, 60, 76, 183, 291, 57,
291, 89, 0, 291, 95, 291, 96, 291, 207, 95,
187, 160, 43, 291, 291, 291, 291, 0, 59, 102,
80, 86, 87, 89, 90, 93, 96, 99, 100, 102,
103, 106, 110, 112, 121, 113, 123, 124, 291, 146,
154, 153, 155, 291, 155, 158, 0, 165, 0, 139,
148, 146, 150, 156, 154, 164, 184, 189, 190, 191,
156, 99, 165, 168, 175, 183, 184, 198, 210, 191,
194, 192, 195, 204, 205, 203, 206, 207, 213, 214,
291, 256, 86, 260, 263, 61, 266, 269, 272, 275,
279, 283, 286
}Definition at line 347 of file AtomLexer.C. |
|
|
Definition at line 220 of file AtomLexer.C. |
|
|
Definition at line 426 of file AtomLexer.C. |
|
|
Definition at line 202 of file AtomLexer.C. |
|
|
Initial value:
{ 0,
121, 1, 121, 121, 121, 121, 121, 122, 123, 121,
121, 124, 121, 121, 121, 121, 121, 121, 121, 125,
121, 121, 121, 121, 126, 127, 121, 127, 28, 28,
28, 28, 28, 28, 28, 28, 28, 121, 121, 122,
121, 122, 123, 121, 124, 121, 124, 121, 121, 121,
128, 121, 125, 121, 121, 121, 121, 126, 129, 130,
28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
28, 28, 28, 28, 28, 28, 28, 28, 121, 131,
122, 132, 124, 121, 121, 128, 133, 129, 129, 28,
28, 28, 28, 28, 28, 28, 131, 131, 132, 132,
121, 121, 28, 28, 28, 28, 28, 131, 132, 28,
28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
0, 121, 121, 121, 121, 121, 121, 121, 121, 121,
121, 121, 121
}Definition at line 366 of file AtomLexer.C. |
|
|
Definition at line 227 of file AtomLexer.C. |
|
|
Definition at line 306 of file AtomLexer.C. |
|
|
Definition at line 212 of file AtomLexer.C. |
|
|
Definition at line 221 of file AtomLexer.C. |
|
|
Definition at line 468 of file AtomLexer.C. |
|
|
Definition at line 467 of file AtomLexer.C. |
|
|
Initial value:
{ 0,
1, 1, 1, 1, 2, 1, 1, 1, 2, 1,
1, 1, 1, 1, 3, 1, 4, 1, 1, 1,
1, 1, 4, 4, 1, 1, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 1, 1, 1, 1
}Definition at line 338 of file AtomLexer.C. |
|
|
Definition at line 214 of file AtomLexer.C. |
|
|
Definition at line 385 of file AtomLexer.C. |
|
|
Definition at line 222 of file AtomLexer.C. |
|
|
Definition at line 266 of file AtomLexer.C. |
|
|
Definition at line 217 of file AtomLexer.C. |
|
|
Definition at line 266 of file AtomLexer.C. |
|
|
Definition at line 477 of file AtomLexer.C. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002