#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "OSConfig.h"
#include <iostream>
#include <sstream>
#include "OSErrorClass.h"
#include "OSMathUtil.h"
#include "OSGeneral.h"
#include "OSParseosrl.tab.hpp"
#include "OSResult.h"
#include "OSrLParserData.h"
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | yy_buffer_state |
struct | yy_trans_info |
struct | yyguts_t |
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 35 |
#define | FLEX_BETA |
#define | yyconst |
#define | YY_NULL 0 |
#define | YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
#define | yyin yyg->yyin_r |
#define | yyout yyg->yyout_r |
#define | yyextra yyg->yyextra_r |
#define | yyleng yyg->yyleng_r |
#define | yytext yyg->yytext_r |
#define | yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) |
#define | yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) |
#define | yy_flex_debug yyg->yy_flex_debug_r |
#define | BEGIN yyg->yy_start = 1 + 2 * |
#define | YY_START ((yyg->yy_start - 1) / 2) |
#define | YYSTATE YY_START |
#define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
#define | YY_NEW_FILE osrlrestart(yyin ,yyscanner ) |
#define | YY_END_OF_BUFFER_CHAR 0 |
#define | YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
#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, yyg->yytext_ptr , yyscanner ) |
#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 yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] |
#define | YY_FLUSH_BUFFER osrl_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) |
#define | yy_new_buffer osrl_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 | osrlwrap(n) 1 |
#define | YY_SKIP_YYWRAP |
#define | yytext_ptr yytext_r |
#define | YY_DO_BEFORE_ACTION |
#define | YY_NUM_RULES 238 |
#define | YY_END_OF_BUFFER 239 |
#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 | YY_PRINT ; |
#define | YY_EXTRA_TYPE OSrLParserData* |
#define | INITIAL 0 |
#define | osrlattributetext 1 |
#define | doublequoteattributetext 2 |
#define | singlequoteattributetext 3 |
#define | startelement 4 |
#define | elementtext 5 |
#define | itemtext 6 |
#define | comment 7 |
#define | xmldeclaration 8 |
#define | yylval yyg->yylval_r |
#define | yylloc yyg->yylloc_r |
#define | YY_RULE_SETUP YY_USER_ACTION |
#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 void * | yyscan_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef size_t | yy_size_t |
typedef unsigned char | YY_CHAR |
typedef int | yy_state_type |
Functions | |
void | osrlrestart (FILE *input_file, yyscan_t yyscanner) |
Immediately switch to a different input stream. | |
void | osrl_switch_to_buffer (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) |
Switch to a different input buffer. | |
YY_BUFFER_STATE | osrl_create_buffer (FILE *file, int size, yyscan_t yyscanner) |
Allocate and initialize an input buffer state. | |
void | osrl_delete_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner) |
Destroy the buffer. | |
void | osrl_flush_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner) |
Discard all buffered characters. | |
void | osrlpush_buffer_state (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) |
Pushes the new state onto the stack. | |
void | osrlpop_buffer_state (yyscan_t yyscanner) |
Removes and deletes the top of the stack, if present. | |
static void | osrlensure_buffer_stack (yyscan_t yyscanner) |
static void | osrl_load_buffer_state (yyscan_t yyscanner) |
static void | osrl_init_buffer (YY_BUFFER_STATE b, FILE *file, yyscan_t yyscanner) |
The main scanner function which does all the work. | |
YY_BUFFER_STATE | osrl_scan_buffer (char *base, yy_size_t size, yyscan_t yyscanner) |
Setup the input buffer state to scan directly from a user-specified character buffer. | |
YY_BUFFER_STATE | osrl_scan_string (yyconst char *yystr, yyscan_t yyscanner) |
Setup the input buffer state to scan a string. | |
YY_BUFFER_STATE | osrl_scan_bytes (yyconst char *yybytes, int _yybytes_len, yyscan_t yyscanner) |
Setup the input buffer state to scan the given bytes. | |
void * | osrlalloc (yy_size_t, yyscan_t yyscanner) |
void * | osrlrealloc (void *, yy_size_t, yyscan_t yyscanner) |
void | osrlfree (void *, yyscan_t yyscanner) |
static yy_state_type | yy_get_previous_state (yyscan_t yyscanner) |
static yy_state_type | yy_try_NUL_trans (yy_state_type current_state, yyscan_t yyscanner) |
static int | yy_get_next_buffer (yyscan_t yyscanner) |
static void | yy_fatal_error (yyconst char msg[], yyscan_t yyscanner) |
static int | yy_init_globals (yyscan_t yyscanner) |
int | osrllex_init (yyscan_t *scanner) |
int | osrllex_init_extra (YY_EXTRA_TYPE user_defined, yyscan_t *scanner) |
int | osrllex_destroy (yyscan_t yyscanner) |
int | osrlget_debug (yyscan_t yyscanner) |
void | osrlset_debug (int debug_flag, yyscan_t yyscanner) |
YY_EXTRA_TYPE | osrlget_extra (yyscan_t yyscanner) |
Get the user-defined data for this scanner. | |
void | osrlset_extra (YY_EXTRA_TYPE user_defined, yyscan_t yyscanner) |
Set the user-defined data. | |
FILE * | osrlget_in (yyscan_t yyscanner) |
Get the input stream. | |
void | osrlset_in (FILE *in_str, yyscan_t yyscanner) |
Set the input stream. | |
FILE * | osrlget_out (yyscan_t yyscanner) |
Get the output stream. | |
void | osrlset_out (FILE *out_str, yyscan_t yyscanner) |
int | osrlget_leng (yyscan_t yyscanner) |
Get the length of the current token. | |
char * | osrlget_text (yyscan_t yyscanner) |
Get the current token. | |
int | osrlget_lineno (yyscan_t yyscanner) |
Get the current line number. | |
void | osrlset_lineno (int line_number, yyscan_t yyscanner) |
Set the current line number. | |
YYSTYPE * | osrlget_lval (yyscan_t yyscanner) |
void | osrlset_lval (YYSTYPE *yylval_param, yyscan_t yyscanner) |
YYLTYPE * | osrlget_lloc (yyscan_t yyscanner) |
void | osrlset_lloc (YYLTYPE *yylloc_param, yyscan_t yyscanner) |
static int | input (yyscan_t yyscanner) |
static void | yy_fatal_error (yyconst char *msg, yyscan_t yyscanner) |
int | osrlget_column (yyscan_t yyscanner) |
Get the current column number. | |
void | osrlset_column (int column_no, yyscan_t yyscanner) |
Set the current column. | |
Variables | |
static yyconst flex_int16_t | yy_accept [1877] |
static yyconst flex_int32_t | yy_ec [256] |
static yyconst flex_int32_t | yy_meta [62] |
static yyconst flex_int16_t | yy_base [1890] |
static yyconst flex_int16_t | yy_def [1890] |
static yyconst flex_int16_t | yy_nxt [3760] |
static yyconst flex_int16_t | yy_chk [3760] |
static yyconst flex_int32_t | yy_rule_can_match_eol [239] |
#define YY_INT_ALIGNED short int |
Definition at line 5 of file OSParseosrl.cpp.
#define FLEX_SCANNER |
Definition at line 9 of file OSParseosrl.cpp.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 10 of file OSParseosrl.cpp.
#define YY_FLEX_MINOR_VERSION 5 |
Definition at line 11 of file OSParseosrl.cpp.
#define YY_FLEX_SUBMINOR_VERSION 35 |
Definition at line 12 of file OSParseosrl.cpp.
#define FLEX_BETA |
Definition at line 14 of file OSParseosrl.cpp.
#define yyconst |
Definition at line 109 of file OSParseosrl.cpp.
#define YY_NULL 0 |
Definition at line 113 of file OSParseosrl.cpp.
#define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 120 of file OSParseosrl.cpp.
#define yyin yyg->yyin_r |
Definition at line 130 of file OSParseosrl.cpp.
#define yyout yyg->yyout_r |
Definition at line 131 of file OSParseosrl.cpp.
#define yyextra yyg->yyextra_r |
Definition at line 132 of file OSParseosrl.cpp.
#define yyleng yyg->yyleng_r |
Definition at line 133 of file OSParseosrl.cpp.
#define yytext yyg->yytext_r |
Definition at line 134 of file OSParseosrl.cpp.
#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) |
Definition at line 135 of file OSParseosrl.cpp.
#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) |
Definition at line 136 of file OSParseosrl.cpp.
#define yy_flex_debug yyg->yy_flex_debug_r |
Definition at line 137 of file OSParseosrl.cpp.
#define BEGIN yyg->yy_start = 1 + 2 * |
Definition at line 143 of file OSParseosrl.cpp.
#define YY_START ((yyg->yy_start - 1) / 2) |
Definition at line 149 of file OSParseosrl.cpp.
#define YYSTATE YY_START |
Definition at line 150 of file OSParseosrl.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 153 of file OSParseosrl.cpp.
#define YY_NEW_FILE osrlrestart(yyin ,yyscanner ) |
Definition at line 156 of file OSParseosrl.cpp.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 158 of file OSParseosrl.cpp.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 175 of file OSParseosrl.cpp.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 182 of file OSParseosrl.cpp.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 183 of file OSParseosrl.cpp.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 184 of file OSParseosrl.cpp.
#define YY_LESS_LINENO | ( | n | ) |
do { \ int yyl;\ for ( yyl = n; yyl < yyleng; ++yyl )\ if ( yytext[yyl] == '\n' )\ --yylineno;\ }while(0)
Definition at line 193 of file OSParseosrl.cpp.
#define yyless | ( | n | ) |
do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = yyg->yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ yyg->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 4603 of file OSParseosrl.cpp.
#define unput | ( | c | ) | yyunput( c, yyg->yytext_ptr , yyscanner ) |
Definition at line 215 of file OSParseosrl.cpp.
#define YY_BUFFER_NEW 0 |
Definition at line 270 of file OSParseosrl.cpp.
#define YY_BUFFER_NORMAL 1 |
Definition at line 271 of file OSParseosrl.cpp.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 282 of file OSParseosrl.cpp.
#define YY_CURRENT_BUFFER |
( yyg->yy_buffer_stack \ ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ : NULL)
Definition at line 293 of file OSParseosrl.cpp.
Definition at line 300 of file OSParseosrl.cpp.
#define YY_FLUSH_BUFFER osrl_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) |
Definition at line 314 of file OSParseosrl.cpp.
#define yy_new_buffer osrl_create_buffer |
Definition at line 324 of file OSParseosrl.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
{ \ if ( ! YY_CURRENT_BUFFER ){ \ osrlensure_buffer_stack (yyscanner); \ YY_CURRENT_BUFFER_LVALUE = \ osrl_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ }
Definition at line 326 of file OSParseosrl.cpp.
#define yy_set_bol | ( | at_bol | ) |
{ \ if ( ! YY_CURRENT_BUFFER ){\ osrlensure_buffer_stack (yyscanner); \ YY_CURRENT_BUFFER_LVALUE = \ osrl_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ }
Definition at line 336 of file OSParseosrl.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 346 of file OSParseosrl.cpp.
#define osrlwrap | ( | n | ) | 1 |
Definition at line 350 of file OSParseosrl.cpp.
#define YY_SKIP_YYWRAP |
Definition at line 351 of file OSParseosrl.cpp.
#define yytext_ptr yytext_r |
Definition at line 357 of file OSParseosrl.cpp.
#define YY_DO_BEFORE_ACTION |
yyg->yytext_ptr = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ yyg->yy_hold_char = *yy_cp; \ *yy_cp = '\0'; \ yyg->yy_c_buf_p = yy_cp;
Definition at line 367 of file OSParseosrl.cpp.
#define YY_NUM_RULES 238 |
Definition at line 374 of file OSParseosrl.cpp.
#define YY_END_OF_BUFFER 239 |
Definition at line 375 of file OSParseosrl.cpp.
#define REJECT reject_used_but_not_detected |
Definition at line 1911 of file OSParseosrl.cpp.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 1912 of file OSParseosrl.cpp.
#define YY_MORE_ADJ 0 |
Definition at line 1913 of file OSParseosrl.cpp.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 1914 of file OSParseosrl.cpp.
#define YY_PRINT ; |
Definition at line 1972 of file OSParseosrl.cpp.
#define YY_EXTRA_TYPE OSrLParserData* |
Definition at line 2005 of file OSParseosrl.cpp.
#define INITIAL 0 |
Definition at line 2008 of file OSParseosrl.cpp.
#define osrlattributetext 1 |
Definition at line 2009 of file OSParseosrl.cpp.
#define doublequoteattributetext 2 |
Definition at line 2010 of file OSParseosrl.cpp.
#define singlequoteattributetext 3 |
Definition at line 2011 of file OSParseosrl.cpp.
#define startelement 4 |
Definition at line 2012 of file OSParseosrl.cpp.
#define elementtext 5 |
Definition at line 2013 of file OSParseosrl.cpp.
#define itemtext 6 |
Definition at line 2014 of file OSParseosrl.cpp.
#define comment 7 |
Definition at line 2015 of file OSParseosrl.cpp.
#define xmldeclaration 8 |
Definition at line 2016 of file OSParseosrl.cpp.
Definition at line 2072 of file OSParseosrl.cpp.
Definition at line 2074 of file OSParseosrl.cpp.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 2246 of file OSParseosrl.cpp.
#define yyless | ( | n | ) |
do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = yyg->yy_hold_char; \ yyg->yy_c_buf_p = yytext + yyless_macro_arg; \ yyg->yy_hold_char = *yyg->yy_c_buf_p; \ *yyg->yy_c_buf_p = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 )
Definition at line 4603 of file OSParseosrl.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 4960 of file OSParseosrl.cpp.
typedef signed char flex_int8_t |
Definition at line 51 of file OSParseosrl.cpp.
typedef short int flex_int16_t |
Definition at line 52 of file OSParseosrl.cpp.
typedef int flex_int32_t |
Definition at line 53 of file OSParseosrl.cpp.
typedef unsigned char flex_uint8_t |
Definition at line 54 of file OSParseosrl.cpp.
typedef unsigned short int flex_uint16_t |
Definition at line 55 of file OSParseosrl.cpp.
typedef unsigned int flex_uint32_t |
Definition at line 56 of file OSParseosrl.cpp.
typedef void* yyscan_t |
Definition at line 125 of file OSParseosrl.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 179 of file OSParseosrl.cpp.
typedef size_t yy_size_t |
Definition at line 219 of file OSParseosrl.cpp.
typedef unsigned char YY_CHAR |
Definition at line 353 of file OSParseosrl.cpp.
typedef int yy_state_type |
Definition at line 355 of file OSParseosrl.cpp.
void osrlrestart | ( | FILE * | input_file, | |
yyscan_t | yyscanner | |||
) |
Immediately switch to a different input stream.
input_file | A readable stream. | |
yyscanner | The scanner object. |
INITIAL
. Definition at line 3025 of file OSParseosrl.cpp.
void osrl_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer, | |
yyscan_t | yyscanner | |||
) |
Switch to a different input buffer.
new_buffer | The new input buffer. | |
yyscanner | The scanner object. |
Definition at line 3043 of file OSParseosrl.cpp.
YY_BUFFER_STATE osrl_create_buffer | ( | FILE * | file, | |
int | size, | |||
yyscan_t | yyscanner | |||
) |
Allocate and initialize an input buffer state.
file | A readable stream. | |
size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE . | |
yyscanner | The scanner object. |
Definition at line 3090 of file OSParseosrl.cpp.
void osrl_delete_buffer | ( | YY_BUFFER_STATE | b, | |
yyscan_t | yyscanner | |||
) |
Destroy the buffer.
b | a buffer created with osrl_create_buffer() | |
yyscanner | The scanner object. |
Definition at line 3118 of file OSParseosrl.cpp.
void osrl_flush_buffer | ( | YY_BUFFER_STATE | b, | |
yyscan_t | yyscanner | |||
) |
Discard all buffered characters.
On the next scan, YY_INPUT will be called.
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . | |
yyscanner | The scanner object. |
Definition at line 4379 of file OSParseosrl.cpp.
void osrlpush_buffer_state | ( | YY_BUFFER_STATE | new_buffer, | |
yyscan_t | yyscanner | |||
) |
Pushes the new state onto the stack.
The new state becomes the current state. This function will allocate the stack if necessary.
new_buffer | The new state. | |
yyscanner | The scanner object. |
Definition at line 4409 of file OSParseosrl.cpp.
void osrlpop_buffer_state | ( | yyscan_t | yyscanner | ) |
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
yyscanner | The scanner object. |
Definition at line 4440 of file OSParseosrl.cpp.
static void osrlensure_buffer_stack | ( | yyscan_t | yyscanner | ) | [static] |
Definition at line 4460 of file OSParseosrl.cpp.
static void osrl_load_buffer_state | ( | yyscan_t | yyscanner | ) | [static] |
static void osrl_init_buffer | ( | YY_BUFFER_STATE | b, | |
FILE * | file, | |||
yyscan_t | yyscanner | |||
) | [static] |
The main scanner function which does all the work.
Definition at line 4350 of file OSParseosrl.cpp.
YY_BUFFER_STATE osrl_scan_buffer | ( | char * | base, | |
yy_size_t | size, | |||
yyscan_t | yyscanner | |||
) |
Setup the input buffer state to scan directly from a user-specified character buffer.
base | the character buffer | |
size | the size in bytes of the character buffer | |
yyscanner | The scanner object. |
Definition at line 4510 of file OSParseosrl.cpp.
YY_BUFFER_STATE osrl_scan_string | ( | yyconst char * | yystr, | |
yyscan_t | yyscanner | |||
) |
Setup the input buffer state to scan a string.
The next call to osrllex() will scan from a copy of str.
yystr | a NUL-terminated string to scan | |
yyscanner | The scanner object. |
Definition at line 4547 of file OSParseosrl.cpp.
YY_BUFFER_STATE osrl_scan_bytes | ( | yyconst char * | yybytes, | |
int | _yybytes_len, | |||
yyscan_t | yyscanner | |||
) |
Setup the input buffer state to scan the given bytes.
The next call to osrllex() will scan from a copy of bytes.
yybytes | the byte buffer to scan | |
_yybytes_len | the number of bytes in the buffer pointed to by bytes. | |
yyscanner | The scanner object. |
The next call to osrllex() will scan from a copy of bytes.
bytes | the byte buffer to scan | |
len | the number of bytes in the buffer pointed to by bytes. | |
yyscanner | The scanner object. |
Definition at line 4560 of file OSParseosrl.cpp.
Definition at line 4938 of file OSParseosrl.cpp.
Definition at line 4943 of file OSParseosrl.cpp.
void osrlfree | ( | void * | ptr, | |
yyscan_t | yyscanner | |||
) |
Definition at line 4955 of file OSParseosrl.cpp.
static yy_state_type yy_get_previous_state | ( | yyscan_t | yyscanner | ) | [static] |
static yy_state_type yy_try_NUL_trans | ( | yy_state_type | current_state, | |
yyscan_t | yyscanner | |||
) | [static] |
static int yy_get_next_buffer | ( | yyscan_t | yyscanner | ) | [static] |
static void yy_fatal_error | ( | yyconst char | msg[], | |
yyscan_t | yyscanner | |||
) | [static] |
static int yy_init_globals | ( | yyscan_t | yyscanner | ) | [static] |
Definition at line 4851 of file OSParseosrl.cpp.
int osrllex_init | ( | yyscan_t * | scanner | ) |
Definition at line 4794 of file OSParseosrl.cpp.
int osrllex_init_extra | ( | YY_EXTRA_TYPE | user_defined, | |
yyscan_t * | scanner | |||
) |
Definition at line 4823 of file OSParseosrl.cpp.
int osrllex_destroy | ( | yyscan_t | yyscanner | ) |
Definition at line 4885 of file OSParseosrl.cpp.
int osrlget_debug | ( | yyscan_t | yyscanner | ) |
Definition at line 4749 of file OSParseosrl.cpp.
void osrlset_debug | ( | int | debug_flag, | |
yyscan_t | yyscanner | |||
) |
Definition at line 4755 of file OSParseosrl.cpp.
YY_EXTRA_TYPE osrlget_extra | ( | yyscan_t | yyscanner | ) |
Get the user-defined data for this scanner.
yyscanner | The scanner object. |
Definition at line 4622 of file OSParseosrl.cpp.
void osrlset_extra | ( | YY_EXTRA_TYPE | user_defined, | |
yyscan_t | yyscanner | |||
) |
Set the user-defined data.
This data is never touched by the scanner.
user_defined | The data to be associated with this scanner. | |
yyscanner | The scanner object. |
Definition at line 4695 of file OSParseosrl.cpp.
FILE * osrlget_in | ( | yyscan_t | yyscanner | ) |
Get the input stream.
yyscanner | The scanner object. |
Definition at line 4657 of file OSParseosrl.cpp.
void osrlset_in | ( | FILE * | in_str, | |
yyscan_t | yyscanner | |||
) |
Set the input stream.
This does not discard the current input buffer.
in_str | A readable stream. | |
yyscanner | The scanner object. |
Definition at line 4737 of file OSParseosrl.cpp.
FILE * osrlget_out | ( | yyscan_t | yyscanner | ) |
Get the output stream.
yyscanner | The scanner object. |
Definition at line 4666 of file OSParseosrl.cpp.
void osrlset_out | ( | FILE * | out_str, | |
yyscan_t | yyscanner | |||
) |
Definition at line 4743 of file OSParseosrl.cpp.
int osrlget_leng | ( | yyscan_t | yyscanner | ) |
Get the length of the current token.
yyscanner | The scanner object. |
Definition at line 4675 of file OSParseosrl.cpp.
char * osrlget_text | ( | yyscan_t | yyscanner | ) |
Get the current token.
yyscanner | The scanner object. |
Definition at line 4685 of file OSParseosrl.cpp.
int osrlget_lineno | ( | yyscan_t | yyscanner | ) |
Get the current line number.
yyscanner | The scanner object. |
Definition at line 4631 of file OSParseosrl.cpp.
void osrlset_lineno | ( | int | line_number, | |
yyscan_t | yyscanner | |||
) |
Set the current line number.
line_number | ||
yyscanner | The scanner object. |
Definition at line 4705 of file OSParseosrl.cpp.
Definition at line 4763 of file OSParseosrl.cpp.
Definition at line 4769 of file OSParseosrl.cpp.
Definition at line 4775 of file OSParseosrl.cpp.
Definition at line 4781 of file OSParseosrl.cpp.
static int input | ( | yyscan_t | yyscanner | ) | [static] |
static void yy_fatal_error | ( | yyconst char * | msg, | |
yyscan_t | yyscanner | |||
) | [static] |
Definition at line 4594 of file OSParseosrl.cpp.
int osrlget_column | ( | yyscan_t | yyscanner | ) |
Get the current column number.
yyscanner | The scanner object. |
Definition at line 4644 of file OSParseosrl.cpp.
void osrlset_column | ( | int | column_no, | |
yyscan_t | yyscanner | |||
) |
Set the current column.
line_number | ||
yyscanner | The scanner object. |
Definition at line 4720 of file OSParseosrl.cpp.
yyconst flex_int16_t yy_accept[1877] [static] |
Definition at line 383 of file OSParseosrl.cpp.
yyconst flex_int32_t yy_ec[256] [static] |
Definition at line 593 of file OSParseosrl.cpp.
yyconst flex_int32_t yy_meta[62] [static] |
{ 0, 1, 2, 2, 1, 3, 2, 4, 2, 2, 2, 2, 2, 2, 2, 5, 2, 6, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 }
Definition at line 625 of file OSParseosrl.cpp.
yyconst flex_int16_t yy_base[1890] [static] |
Definition at line 636 of file OSParseosrl.cpp.
yyconst flex_int16_t yy_def[1890] [static] |
Definition at line 847 of file OSParseosrl.cpp.
yyconst flex_int16_t yy_nxt[3760] [static] |
Definition at line 1058 of file OSParseosrl.cpp.
yyconst flex_int16_t yy_chk[3760] [static] |
Definition at line 1475 of file OSParseosrl.cpp.
yyconst flex_int32_t yy_rule_can_match_eol[239] [static] |
{ 0, 1, 0, 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, 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, 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, 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, 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, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, }
Definition at line 1893 of file OSParseosrl.cpp.