#include <FlexLexer.h>
#include <string>
#include "parser.h"
#include "parser.tab.hh"
Go to the source code of this file.
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_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_INTERACTIVE |
#define | YY_DO_BEFORE_ACTION |
#define | YY_NUM_RULES 32 |
#define | YY_END_OF_BUFFER 33 |
#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 | yywrap() 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 LexerOutput( yytext, yyleng ) |
#define | YY_INPUT(buf, result, max_size) |
#define | yyterminate() return YY_NULL |
#define | YY_START_STACK_INCR 25 |
#define | YY_FATAL_ERROR(msg) LexerError( msg ) |
#define | YY_DECL int yyFlexLexer::yylex() |
#define | YY_BREAK break; |
#define | YY_RULE_SETUP YY_USER_ACTION |
#define | YY_EXIT_FAILURE 2 |
#define | yyless(n) |
Typedefs | |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef unsigned int | yy_size_t |
typedef unsigned char | YY_CHAR |
Functions | |
static void *yy_flex_alloc | YY_PROTO ((yy_size_t)) |
static void *yy_flex_realloc | YY_PROTO ((void *, yy_size_t)) |
static void yy_flex_free | YY_PROTO ((void *)) |
if (yy_init) | |
while (1) | |
int isatty | YY_PROTO ((int)) |
static void * | yy_flex_alloc (size) yy_size_t size |
return (void *) malloc(size) | |
static void * | yy_flex_realloc (ptr, size) void *ptr |
Variables | |
int | yyleng |
static yyconst short int | yy_accept [72] |
static yyconst int | yy_ec [256] |
static yyconst int | yy_meta [45] |
static yyconst short int | yy_base [75] |
static yyconst short int | yy_def [75] |
static yyconst short int | yy_nxt [146] |
static yyconst short int | yy_chk [146] |
int | numLine |
YY_DECL register yy_state_type | yy_current_state |
register char * | yy_cp |
register char * | yy_bp |
register int | yy_act |
yy_size_t | size |
#define ECHO LexerOutput( yytext, yyleng ) |
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 108 of file lex.yy.cc.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 109 of file lex.yy.cc.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 110 of file lex.yy.cc.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().
#define YY_BUFFER_EOF_PENDING 2 |
#define YY_DO_BEFORE_ACTION |
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 99 of file lex.yy.cc.
Referenced by yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().
#define YY_FATAL_ERROR | ( | msg | ) | LexerError( msg ) |
Definition at line 491 of file lex.yy.cc.
Referenced by while(), and yyFlexLexer::yy_get_next_buffer().
#define YY_INPUT | ( | buf, | |||
result, | |||||
max_size | ) |
Value:
if ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \ YY_FATAL_ERROR( "input in flex scanner failed" );
Definition at line 471 of file lex.yy.cc.
Referenced by yyFlexLexer::yy_get_next_buffer().
#define YY_MORE_ADJ 0 |
Definition at line 380 of file lex.yy.cc.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yy_get_previous_state().
#define YY_NEW_FILE yyrestart( yyin ) |
#define YY_READ_BUF_SIZE 8192 |
#define YY_RULE_SETUP YY_USER_ACTION |
#define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 78 of file lex.yy.cc.
Referenced by while(), and yyFlexLexer::yy_get_previous_state().
#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_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_START ((yy_start - 1) / 2) |
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
#define yyless | ( | n | ) |
#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 yyterminate | ( | ) | return YY_NULL |
#define yytext_ptr yytext |
Definition at line 240 of file lex.yy.cc.
Referenced by while(), yyFlexLexer::yy_get_next_buffer(), yyFlexLexer::yy_get_previous_state(), yyFlexLexer::yy_load_buffer_state(), and yyFlexLexer::yyinput().
#define yywrap | ( | ) | 1 |
typedef struct yy_buffer_state* YY_BUFFER_STATE |
if | ( | yy_init | ) |
return | ( | void * | ) |
while | ( | 1 | ) |
Definition at line 551 of file lex.yy.cc.
References AND, BEEP, COMMA, DOT, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, EOL, EQUAL, EQUAL2, HELP, HOLE, INFO, INITIAL, INT, YYSTYPE::integerVal, LEFT_BRA, LEFT_PAR, MAJ, MIN, OR, PLUS, POWER, RIGHT_BRA, RIGHT_PAR, RUN, SET, STEP, YYSTYPE::stringVal, TIMES, YY_BREAK, YY_BUFFER_NEW, YY_BUFFER_NORMAL, YY_DO_BEFORE_ACTION, YY_END_OF_BUFFER, YY_FATAL_ERROR, YY_MORE_ADJ, YY_NEW_FILE, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, YY_STATE_EOF, yylval, yyterminate, yytext_ptr, yywrap, and ZERO.
static void* yy_flex_alloc | ( | size | ) | [static] |
static void* yy_flex_realloc | ( | ptr | , | |
size | ||||
) | [static] |
Referenced by yyFlexLexer::yy_get_next_buffer().
int isatty YY_PROTO | ( | (int) | ) |
static void yy_flex_free YY_PROTO | ( | (void *) | ) | [static] |
static void* yy_flex_realloc YY_PROTO | ( | (void *, yy_size_t) | ) | [static] |
static void* yy_flex_alloc YY_PROTO | ( | (yy_size_t) | ) | [static] |
int numLine |
yyconst short int yy_accept[72] [static] |
Initial value:
{ 0, 0, 0, 33, 32, 2, 31, 30, 1, 20, 21, 27, 28, 25, 26, 3, 18, 24, 16, 16, 16, 29, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 22, 23, 2, 30, 1, 3, 19, 16, 0, 13, 17, 17, 17, 17, 17, 17, 11, 17, 17, 17, 17, 14, 12, 17, 17, 17, 17, 4, 5, 17, 17, 10, 6, 8, 17, 7, 9, 17, 15, 0 }
yyconst short int yy_base[75] [static] |
Initial value:
{ 0, 0, 0, 100, 101, 43, 101, 47, 0, 101, 101, 101, 101, 101, 101, 85, 83, 101, 77, 76, 33, 101, 60, 65, 0, 64, 57, 50, 52, 48, 17, 59, 101, 101, 54, 58, 0, 73, 101, 66, 66, 101, 0, 56, 54, 49, 51, 46, 0, 44, 38, 48, 38, 101, 0, 38, 37, 37, 46, 0, 0, 34, 34, 0, 0, 0, 40, 0, 0, 23, 16, 101, 62, 64, 47 }
yyconst short int yy_chk[146] [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, 5, 30, 5, 5, 7, 74, 7, 7, 20, 70, 20, 34, 30, 34, 34, 35, 69, 35, 35, 72, 72, 72, 73, 73, 66, 62, 61, 58, 57, 56, 55, 52, 51, 50, 49, 47, 46, 45, 44, 43, 40, 39, 37, 31, 29, 28, 27, 26, 25, 23, 22, 19, 18, 16, 15, 3, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71 }
YY_DECL register yy_state_type yy_current_state |
yyconst short int yy_def[75] [static] |
Initial value:
{ 0, 71, 1, 71, 71, 71, 71, 71, 72, 71, 71, 71, 71, 71, 71, 71, 71, 71, 73, 73, 73, 71, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 71, 71, 71, 71, 72, 71, 71, 73, 71, 71, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 71, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 0, 71, 71, 71 }
yyconst int yy_meta[45] [static] |
yyconst short int yy_nxt[146] [static] |
Initial value:
{ 0, 4, 5, 6, 7, 5, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 19, 19, 20, 19, 21, 4, 22, 23, 24, 24, 24, 24, 25, 26, 24, 24, 27, 28, 24, 29, 30, 24, 24, 31, 32, 33, 34, 50, 35, 34, 35, 42, 35, 35, 71, 70, 41, 34, 51, 35, 34, 35, 70, 35, 35, 36, 36, 36, 39, 39, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 71, 37, 52, 49, 48, 47, 46, 45, 44, 43, 71, 40, 38, 37, 71, 3, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71 }
int yyleng |