Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

vos/corelibs/vos/parsemessage_lexer.cc File Reference

Go to the source code of this file.

Compounds

Defines

Typedefs

Functions

Variables


Define Documentation

#define BEGIN   (yy_start) = 1 + 2 *
 

Definition at line 124 of file parsemessage_lexer.cc.

Referenced by yyFlexLexer::yy_pop_state(), and yyFlexLexer::yy_push_state().

#define ECHO   LexerOutput( yytext, yyleng )
 

Definition at line 2621 of file parsemessage_lexer.cc.

#define EOB_ACT_CONTINUE_SCAN   0
 

Definition at line 153 of file parsemessage_lexer.cc.

#define EOB_ACT_END_OF_FILE   1
 

Definition at line 154 of file parsemessage_lexer.cc.

#define EOB_ACT_LAST_MATCH   2
 

Definition at line 155 of file parsemessage_lexer.cc.

#define FLEX_BETA
 

Definition at line 14 of file parsemessage_lexer.cc.

#define FLEX_SCANNER
 

Definition at line 9 of file parsemessage_lexer.cc.

#define INITIAL   0
 

Definition at line 2582 of file parsemessage_lexer.cc.

#define INT16_MAX   (32767)
 

Definition at line 66 of file parsemessage_lexer.cc.

#define INT16_MIN   (-32767-1)
 

Definition at line 57 of file parsemessage_lexer.cc.

#define INT32_MAX   (2147483647)
 

Definition at line 69 of file parsemessage_lexer.cc.

#define INT32_MIN   (-2147483647-1)
 

Definition at line 60 of file parsemessage_lexer.cc.

#define INT8_MAX   (127)
 

Definition at line 63 of file parsemessage_lexer.cc.

#define INT8_MIN   (-128)
 

Definition at line 54 of file parsemessage_lexer.cc.

#define READQUOTED
 

Value:

{                                         \
    if(parsestate->read_quoted) {                            \
        int ret;                                             \
        pREF(Message*, m, parsestate->m->lastMessage(),      \
            (m->fields.back()).quoted = true;                \
            std::string& target = (m->fields.back()).source; \
            target.resize(parsestate->read_quoted);          \
            int i;                                           \
            for(i = 0; i < yyleng; i++) {                    \
                target[i] = yytext[i];                       \
            }                                                \
            for(; i < parsestate->read_quoted; i++) {        \
                int c;                                       \
                if((c = yyinput()) == EOF) break;            \
                target[i] = c;                               \
            }                                                \
            parsestate->chars_read += i;                     \
            if(i != parsestate->read_quoted) ret = EOF;      \
            else ret = CDATA;                                \
        );                                                   \
        return ret;                                          \
    }                                                        \
}

Definition at line 2543 of file parsemessage_lexer.cc.

#define REJECT   reject_used_but_not_detected
 

Definition at line 2507 of file parsemessage_lexer.cc.

#define S_ATTRIBUTES   2
 

Definition at line 2584 of file parsemessage_lexer.cc.

#define S_EQ   3
 

Definition at line 2585 of file parsemessage_lexer.cc.

#define S_QUOTE   4
 

Definition at line 2586 of file parsemessage_lexer.cc.

#define S_QUOTESTR   5
 

Definition at line 2587 of file parsemessage_lexer.cc.

#define S_TAG   1
 

Definition at line 2583 of file parsemessage_lexer.cc.

#define S_TAGEND   6
 

Definition at line 2588 of file parsemessage_lexer.cc.

#define UINT16_MAX   (65535U)
 

Definition at line 75 of file parsemessage_lexer.cc.

#define UINT32_MAX   (4294967295U)
 

Definition at line 78 of file parsemessage_lexer.cc.

#define UINT8_MAX   (255U)
 

Definition at line 72 of file parsemessage_lexer.cc.

#define unput  )     yyunput( c, (yytext_ptr) )
 

Definition at line 173 of file parsemessage_lexer.cc.

 
#define YY_AT_BOL  )     (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
 

Definition at line 292 of file parsemessage_lexer.cc.

#define YY_BREAK   break;
 

Definition at line 2672 of file parsemessage_lexer.cc.

#define YY_BUF_SIZE   16384
 

Definition at line 143 of file parsemessage_lexer.cc.

#define YY_BUFFER_EOF_PENDING   2
 

Definition at line 246 of file parsemessage_lexer.cc.

#define YY_BUFFER_NEW   0
 

Definition at line 234 of file parsemessage_lexer.cc.

#define YY_BUFFER_NORMAL   1
 

Definition at line 235 of file parsemessage_lexer.cc.

#define YY_CURRENT_BUFFER
 

Value:

( (yy_buffer_stack) \
                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
                          : NULL)

Definition at line 257 of file parsemessage_lexer.cc.

Referenced by yyFlexLexer::yypop_buffer_state().

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
 

Definition at line 264 of file parsemessage_lexer.cc.

Referenced by yyFlexLexer::yypop_buffer_state().

#define YY_DECL   int msgFlexLexer::yylex()
 

Definition at line 310 of file parsemessage_lexer.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 2466 of file parsemessage_lexer.cc.

#define YY_END_OF_BUFFER   23
 

Definition at line 2474 of file parsemessage_lexer.cc.

#define YY_END_OF_BUFFER_CHAR   0
 

Definition at line 139 of file parsemessage_lexer.cc.

#define YY_EXIT_FAILURE   2
 

Definition at line 3681 of file parsemessage_lexer.cc.

#define YY_EXTRA_TYPE   void *
 

Definition at line 2599 of file parsemessage_lexer.cc.

#define YY_FATAL_ERROR msg   )     LexerError( msg )
 

Definition at line 2650 of file parsemessage_lexer.cc.

Referenced by yyFlexLexer::yy_pop_state(), and yyFlexLexer::yy_push_state().

#define YY_FLEX_MAJOR_VERSION   2
 

Definition at line 10 of file parsemessage_lexer.cc.

#define YY_FLEX_MINOR_VERSION   5
 

Definition at line 11 of file parsemessage_lexer.cc.

#define YY_FLEX_SUBMINOR_VERSION   31
 

Definition at line 12 of file parsemessage_lexer.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 2628 of file parsemessage_lexer.cc.

#define YY_INT_ALIGNED   short int
 

Definition at line 5 of file parsemessage_lexer.cc.

#define YY_LESS_LINENO  ) 
 

Definition at line 157 of file parsemessage_lexer.cc.

#define YY_MORE_ADJ   0
 

Definition at line 2509 of file parsemessage_lexer.cc.

#define yy_new_buffer   yy_create_buffer
 

Definition at line 270 of file parsemessage_lexer.cc.

#define YY_NEW_FILE   yyrestart( yyin )
 

Definition at line 137 of file parsemessage_lexer.cc.

#define YY_NULL   0
 

Definition at line 111 of file parsemessage_lexer.cc.

#define YY_NUM_RULES   22
 

Definition at line 2473 of file parsemessage_lexer.cc.

#define YY_READ_BUF_SIZE   8192
 

Definition at line 2616 of file parsemessage_lexer.cc.

#define YY_RESTORE_YY_MORE_OFFSET
 

Definition at line 2510 of file parsemessage_lexer.cc.

#define YY_RULE_SETUP   YY_USER_ACTION
 

Definition at line 2675 of file parsemessage_lexer.cc.

#define YY_SC_TO_UI  )     ((unsigned int) (unsigned char) c)
 

Definition at line 118 of file parsemessage_lexer.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 parsemessage_lexer.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 parsemessage_lexer.cc.

#define YY_SKIP_YYWRAP
 

Definition at line 297 of file parsemessage_lexer.cc.

#define YY_START   (((yy_start) - 1) / 2)
 

Definition at line 130 of file parsemessage_lexer.cc.

Referenced by yyFlexLexer::yy_push_state().

#define YY_START_STACK_INCR   25
 

Definition at line 2645 of file parsemessage_lexer.cc.

Referenced by yyFlexLexer::yy_push_state().

#define YY_STATE_EOF state   )     (YY_END_OF_BUFFER + state + 1)
 

Definition at line 134 of file parsemessage_lexer.cc.

#define yyconst
 

Definition at line 107 of file parsemessage_lexer.cc.

#define yyFlexLexer   msgbaseFlexLexer
 

Definition at line 20 of file parsemessage_lexer.cc.

#define yyless  ) 
 

Value:

do \
        { \
          \
        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 3693 of file parsemessage_lexer.cc.

#define yyless  ) 
 

Value:

do \
        { \
          \
        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;   \
        } \
    while ( 0 )

Definition at line 3693 of file parsemessage_lexer.cc.

 
#define yymore  )     yymore_used_but_not_detected
 

Definition at line 2508 of file parsemessage_lexer.cc.

#define YYSTATE   YY_START
 

Definition at line 131 of file parsemessage_lexer.cc.

#define YYTABLES_NAME   "yytables"
 

Definition at line 3755 of file parsemessage_lexer.cc.

 
#define yyterminate  )     return YY_NULL
 

Definition at line 2640 of file parsemessage_lexer.cc.

#define yytext_ptr   yytext
 

Definition at line 301 of file parsemessage_lexer.cc.

#define yywrap  )     1
 

Definition at line 296 of file parsemessage_lexer.cc.


Typedef Documentation

typedef short int flex_int16_t
 

Definition at line 45 of file parsemessage_lexer.cc.

typedef int flex_int32_t
 

Definition at line 46 of file parsemessage_lexer.cc.

typedef signed char flex_int8_t
 

Definition at line 44 of file parsemessage_lexer.cc.

typedef unsigned short int flex_uint16_t
 

Definition at line 48 of file parsemessage_lexer.cc.

typedef unsigned int flex_uint32_t
 

Definition at line 49 of file parsemessage_lexer.cc.

typedef unsigned char flex_uint8_t
 

Definition at line 47 of file parsemessage_lexer.cc.

typedef struct yy_buffer_state* YY_BUFFER_STATE
 

Definition at line 148 of file parsemessage_lexer.cc.

typedef unsigned char YY_CHAR
 

Definition at line 299 of file parsemessage_lexer.cc.

typedef unsigned int yy_size_t
 

Definition at line 182 of file parsemessage_lexer.cc.

Referenced by yyFlexLexer::yy_push_state().


Function Documentation

void * msgbasealloc yy_size_t   ) 
 

Definition at line 3733 of file parsemessage_lexer.cc.

Referenced by yyFlexLexer::yy_push_state(), and yyFlexLexer::yyensure_buffer_stack().

void msgbasefree void *   ) 
 

Definition at line 3750 of file parsemessage_lexer.cc.

void * msgbaserealloc void *  ,
yy_size_t 
 

Definition at line 3738 of file parsemessage_lexer.cc.

Referenced by yyFlexLexer::yy_push_state(), and yyFlexLexer::yyensure_buffer_stack().


Variable Documentation

yyconst flex_int16_t yy_accept[68] [static]
 

Initial value:

    {   0,
        0,    0,    0,    0,    9,    9,    0,    0,    0,    0,
       18,   18,    0,    0,   23,    1,    3,    7,   22,    4,
        6,    6,   13,    9,    9,   11,    8,   13,   12,   15,
       14,   17,   16,   18,   19,   21,   20,    1,    0,    6,
        6,    9,    8,    0,   18,    0,    6,    0,    0,    6,
        0,    0,    0,    6,    0,    0,    0,    6,    0,    2,
        6,   10,    6,    6,    6,    6,    5
    }

Definition at line 2482 of file parsemessage_lexer.cc.

yyconst yy_state_type yy_NUL_trans[68] [static]
 

Initial value:

    {   0,
       16,   16,   18,   18,   23,   23,   30,   30,   32,   32,
       34,   34,   36,   36,    0,   38,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,   45,    0,    0,    0,   38,    0,    0,
        0,    0,    0,    0,   45,    0,    0,    0,   52,    0,
       55,   52,    0,    0,   55,    0,   52,    0,   55,    0,
        0,    0,    0,    0,    0,    0,    0
    }

Definition at line 2493 of file parsemessage_lexer.cc.

yyconst flex_int16_t yy_nxt[][256] [static]
 

Definition at line 311 of file parsemessage_lexer.cc.

int yyleng
 

Definition at line 151 of file parsemessage_lexer.cc.


Generated on Tue Aug 12 03:55:48 2003 for Interreality Project - VOS by doxygen 1.3.2