#include <iostream>#include <errno.h>#include <cstdlib>#include <cstring>#include <FlexLexer.h>#include "dbcompare_sortorder_scanner.hh"#include <coconut_config.h>#include <unistd.h>

Go to the source code of this file.
Classes | |
| struct | yy_buffer_state |
| struct | yy_trans_info |
Defines | |
| #define | YY_INT_ALIGNED short int |
| #define | FLEX_SCANNER |
| #define | YY_FLEX_MAJOR_VERSION 2 |
| #define | YY_FLEX_MINOR_VERSION 5 |
| #define | YY_FLEX_SUBMINOR_VERSION 31 |
| #define | FLEX_BETA |
| #define | yyFlexLexer CoconutDBCompareSortOrderFlexLexer |
| #define | INT8_MIN (-128) |
| #define | INT16_MIN (-32767-1) |
| #define | INT32_MIN (-2147483647-1) |
| #define | INT8_MAX (127) |
| #define | INT16_MAX (32767) |
| #define | INT32_MAX (2147483647) |
| #define | UINT8_MAX (255U) |
| #define | UINT16_MAX (65535U) |
| #define | UINT32_MAX (4294967295U) |
| #define | yyconst |
| #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 | YY_LESS_LINENO(n) |
| #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 |
| #define | YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
| #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_LVALUE->yy_at_bol) |
| #define | yywrap() 1 |
| #define | YY_SKIP_YYWRAP |
| #define | yytext_ptr yytext |
| #define | YY_DECL int dbcompare_sortorder_scanner::yylex() |
| #define | YY_DO_BEFORE_ACTION |
| #define | YY_NUM_RULES 11 |
| #define | YY_END_OF_BUFFER 12 |
| #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_EXTRA_TYPE void * |
| #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_BREAK break; |
| #define | YY_RULE_SETUP YY_USER_ACTION |
| #define | YY_EXIT_FAILURE 2 |
| #define | yyless(n) |
| #define | YYTABLES_NAME "yytables" |
Typedefs | |
| typedef signed char | flex_int8_t |
| typedef short int | flex_int16_t |
| typedef int | flex_int32_t |
| typedef unsigned char | flex_uint8_t |
| typedef unsigned short int | flex_uint16_t |
| typedef unsigned int | flex_uint32_t |
| typedef struct yy_buffer_state * | YY_BUFFER_STATE |
| typedef unsigned int | yy_size_t |
| typedef unsigned char | YY_CHAR |
| typedef coco_api_internal::dbcompare_sortorder_parser::token | token |
Functions | |
| void * | CoconutDBCompareSortOrderalloc (yy_size_t) |
| void * | CoconutDBCompareSortOrderrealloc (void *, yy_size_t) |
| void | CoconutDBCompareSortOrderfree (void *) |
Variables | |
| int | yyleng |
| #define BEGIN (yy_start) = 1 + 2 * |
Definition at line 124 of file dbcompare_sortorder_scanner.cc.
| #define ECHO LexerOutput( yytext, yyleng ) |
Definition at line 497 of file dbcompare_sortorder_scanner.cc.
| #define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 153 of file dbcompare_sortorder_scanner.cc.
| #define EOB_ACT_END_OF_FILE 1 |
Definition at line 154 of file dbcompare_sortorder_scanner.cc.
| #define EOB_ACT_LAST_MATCH 2 |
Definition at line 155 of file dbcompare_sortorder_scanner.cc.
| #define FLEX_BETA |
Definition at line 14 of file dbcompare_sortorder_scanner.cc.
| #define FLEX_SCANNER |
Definition at line 9 of file dbcompare_sortorder_scanner.cc.
| #define INITIAL 0 |
Definition at line 464 of file dbcompare_sortorder_scanner.cc.
| #define INT16_MAX (32767) |
Definition at line 66 of file dbcompare_sortorder_scanner.cc.
| #define INT16_MIN (-32767-1) |
Definition at line 57 of file dbcompare_sortorder_scanner.cc.
| #define INT32_MAX (2147483647) |
Definition at line 69 of file dbcompare_sortorder_scanner.cc.
| #define INT32_MIN (-2147483647-1) |
Definition at line 60 of file dbcompare_sortorder_scanner.cc.
| #define INT8_MAX (127) |
Definition at line 63 of file dbcompare_sortorder_scanner.cc.
| #define INT8_MIN (-128) |
Definition at line 54 of file dbcompare_sortorder_scanner.cc.
| #define REJECT reject_used_but_not_detected |
Definition at line 424 of file dbcompare_sortorder_scanner.cc.
| #define UINT16_MAX (65535U) |
Definition at line 75 of file dbcompare_sortorder_scanner.cc.
| #define UINT32_MAX (4294967295U) |
Definition at line 78 of file dbcompare_sortorder_scanner.cc.
| #define UINT8_MAX (255U) |
Definition at line 72 of file dbcompare_sortorder_scanner.cc.
| #define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 173 of file dbcompare_sortorder_scanner.cc.
| #define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 292 of file dbcompare_sortorder_scanner.cc.
| #define YY_BREAK break; |
Definition at line 548 of file dbcompare_sortorder_scanner.cc.
| #define YY_BUF_SIZE 16384 |
Definition at line 143 of file dbcompare_sortorder_scanner.cc.
| #define YY_BUFFER_EOF_PENDING 2 |
Definition at line 246 of file dbcompare_sortorder_scanner.cc.
| #define YY_BUFFER_NEW 0 |
Definition at line 234 of file dbcompare_sortorder_scanner.cc.
| #define YY_BUFFER_NORMAL 1 |
Definition at line 235 of file dbcompare_sortorder_scanner.cc.
| #define YY_CURRENT_BUFFER |
Value:
( (yy_buffer_stack) \
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
: NULL)
Definition at line 257 of file dbcompare_sortorder_scanner.cc.
| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 264 of file dbcompare_sortorder_scanner.cc.
| #define YY_DECL int dbcompare_sortorder_scanner::yylex() |
Definition at line 308 of file dbcompare_sortorder_scanner.cc.
| #define YY_DO_BEFORE_ACTION |
Value:
(yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp;
Definition at line 313 of file dbcompare_sortorder_scanner.cc.
| #define YY_END_OF_BUFFER 12 |
Definition at line 321 of file dbcompare_sortorder_scanner.cc.
| #define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 139 of file dbcompare_sortorder_scanner.cc.
| #define YY_EXIT_FAILURE 2 |
| #define YY_EXTRA_TYPE void * |
Definition at line 475 of file dbcompare_sortorder_scanner.cc.
| #define YY_FATAL_ERROR | ( | msg | ) | LexerError( msg ) |
Definition at line 526 of file dbcompare_sortorder_scanner.cc.
| #define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 10 of file dbcompare_sortorder_scanner.cc.
| #define YY_FLEX_MINOR_VERSION 5 |
Definition at line 11 of file dbcompare_sortorder_scanner.cc.
| #define YY_FLEX_SUBMINOR_VERSION 31 |
Definition at line 12 of file dbcompare_sortorder_scanner.cc.
| #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 504 of file dbcompare_sortorder_scanner.cc.
| #define YY_INT_ALIGNED short int |
Definition at line 5 of file dbcompare_sortorder_scanner.cc.
| #define YY_LESS_LINENO | ( | n | ) |
Definition at line 157 of file dbcompare_sortorder_scanner.cc.
| #define YY_MORE_ADJ 0 |
Definition at line 426 of file dbcompare_sortorder_scanner.cc.
| #define yy_new_buffer yy_create_buffer |
Definition at line 270 of file dbcompare_sortorder_scanner.cc.
| #define YY_NEW_FILE yyrestart( yyin ) |
Definition at line 137 of file dbcompare_sortorder_scanner.cc.
| #define YY_NULL 0 |
Definition at line 111 of file dbcompare_sortorder_scanner.cc.
| #define YY_NUM_RULES 11 |
Definition at line 320 of file dbcompare_sortorder_scanner.cc.
| #define YY_READ_BUF_SIZE 8192 |
Definition at line 492 of file dbcompare_sortorder_scanner.cc.
| #define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 427 of file dbcompare_sortorder_scanner.cc.
| #define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 551 of file dbcompare_sortorder_scanner.cc.
| #define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 118 of file dbcompare_sortorder_scanner.cc.
| #define yy_set_bol | ( | at_bol | ) |
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
Definition at line 282 of file dbcompare_sortorder_scanner.cc.
| #define yy_set_interactive | ( | is_interactive | ) |
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
Definition at line 272 of file dbcompare_sortorder_scanner.cc.
| #define YY_SKIP_YYWRAP |
Definition at line 295 of file dbcompare_sortorder_scanner.cc.
| #define YY_START (((yy_start) - 1) / 2) |
Definition at line 130 of file dbcompare_sortorder_scanner.cc.
| #define YY_START_STACK_INCR 25 |
Definition at line 521 of file dbcompare_sortorder_scanner.cc.
| #define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 134 of file dbcompare_sortorder_scanner.cc.
| #define yyconst |
Definition at line 107 of file dbcompare_sortorder_scanner.cc.
| #define yyFlexLexer CoconutDBCompareSortOrderFlexLexer |
Definition at line 20 of file dbcompare_sortorder_scanner.cc.
| #define yyless | ( | n | ) |
Value:
do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 )
Definition at line 160 of file dbcompare_sortorder_scanner.cc.
| #define yyless | ( | n | ) |
Value:
do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 )
Definition at line 160 of file dbcompare_sortorder_scanner.cc.
| #define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 425 of file dbcompare_sortorder_scanner.cc.
| #define YYSTATE YY_START |
Definition at line 131 of file dbcompare_sortorder_scanner.cc.
| #define YYTABLES_NAME "yytables" |
| #define yyterminate | ( | ) | return YY_NULL |
Definition at line 516 of file dbcompare_sortorder_scanner.cc.
| #define yytext_ptr yytext |
Definition at line 299 of file dbcompare_sortorder_scanner.cc.
| #define yywrap | ( | ) | 1 |
Definition at line 294 of file dbcompare_sortorder_scanner.cc.
| typedef short int flex_int16_t |
Definition at line 45 of file dbcompare_sortorder_scanner.cc.
| typedef int flex_int32_t |
Definition at line 46 of file dbcompare_sortorder_scanner.cc.
| typedef signed char flex_int8_t |
Definition at line 44 of file dbcompare_sortorder_scanner.cc.
| typedef unsigned short int flex_uint16_t |
Definition at line 48 of file dbcompare_sortorder_scanner.cc.
| typedef unsigned int flex_uint32_t |
Definition at line 49 of file dbcompare_sortorder_scanner.cc.
| typedef unsigned char flex_uint8_t |
Definition at line 47 of file dbcompare_sortorder_scanner.cc.
Definition at line 457 of file dbcompare_sortorder_scanner.cc.
| typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 148 of file dbcompare_sortorder_scanner.cc.
| typedef unsigned char YY_CHAR |
Definition at line 297 of file dbcompare_sortorder_scanner.cc.
| typedef unsigned int yy_size_t |
Definition at line 182 of file dbcompare_sortorder_scanner.cc.
| void* CoconutDBCompareSortOrderalloc | ( | yy_size_t | ) |
| void CoconutDBCompareSortOrderfree | ( | void * | ) |
| void* CoconutDBCompareSortOrderrealloc | ( | void * | , | |
| yy_size_t | ||||
| ) |
| int yyleng |
1.5.8