#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <iostream>
#include <sstream>
#include "OSConfig.h"
#include "OSDataStructures.h"
#include "OSErrorClass.h"
#include "OSMathUtil.h"
#include "OSiLParserData.h"
#include "OSParseosil.tab.hpp"
#include "OSInstance.h"
#include "OSGeneral.h"
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | yy_buffer_state |
struct | yy_trans_info |
struct | yyguts_t |
Macros | |
#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 | FLEXINT_H |
#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 | YY_TYPEDEF_YY_SCANNER_T |
#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 osilrestart(yyin ,yyscanner ) |
#define | YY_END_OF_BUFFER_CHAR 0 |
#define | YY_BUF_SIZE 16384 |
#define | YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
#define | YY_TYPEDEF_YY_BUFFER_STATE |
#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_TYPEDEF_YY_SIZE_T |
#define | YY_STRUCT_YY_BUFFER_STATE |
#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 osil_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) |
#define | yy_new_buffer osil_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 | osilwrap(n) 1 |
#define | YY_SKIP_YYWRAP |
#define | FLEX_DEBUG |
#define | yytext_ptr yytext_r |
#define | YY_DO_BEFORE_ACTION |
#define | YY_NUM_RULES 457 |
#define | YY_END_OF_BUFFER 458 |
#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 OSiLParserData* |
#define | INITIAL 0 |
#define | osilattributetext 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_READ_BUF_SIZE 8192 |
#define | ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) |
#define | YY_INPUT(buf, result, max_size) |
#define | yyterminate() return YY_NULL |
#define | YY_START_STACK_INCR 25 |
#define | YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner) |
#define | YY_DECL_IS_OURS 1 |
#define | YY_DECL |
#define | YY_USER_ACTION |
#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 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 | osilrestart (FILE *input_file, yyscan_t yyscanner) |
Immediately switch to a different input stream. More... | |
void | osil_switch_to_buffer (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) |
Switch to a different input buffer. More... | |
YY_BUFFER_STATE | osil_create_buffer (FILE *file, int size, yyscan_t yyscanner) |
Allocate and initialize an input buffer state. More... | |
void | osil_delete_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner) |
Destroy the buffer. More... | |
void | osil_flush_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner) |
Discard all buffered characters. More... | |
void | osilpush_buffer_state (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) |
Pushes the new state onto the stack. More... | |
void | osilpop_buffer_state (yyscan_t yyscanner) |
Removes and deletes the top of the stack, if present. More... | |
static void | osilensure_buffer_stack (yyscan_t yyscanner) |
static void | osil_load_buffer_state (yyscan_t yyscanner) |
static void | osil_init_buffer (YY_BUFFER_STATE b, FILE *file, yyscan_t yyscanner) |
YY_BUFFER_STATE | osil_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. More... | |
YY_BUFFER_STATE | osil_scan_string (yyconst char *yystr, yyscan_t yyscanner) |
Setup the input buffer state to scan a string. More... | |
YY_BUFFER_STATE | osil_scan_bytes (yyconst char *yybytes, int _yybytes_len, yyscan_t yyscanner) |
Setup the input buffer state to scan the given bytes. More... | |
void * | osilalloc (yy_size_t, yyscan_t yyscanner) |
void * | osilrealloc (void *, yy_size_t, yyscan_t yyscanner) |
void | osilfree (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 | osillex_init (yyscan_t *scanner) |
int | osillex_init_extra (YY_EXTRA_TYPE user_defined, yyscan_t *scanner) |
int | osillex_destroy (yyscan_t yyscanner) |
int | osilget_debug (yyscan_t yyscanner) |
void | osilset_debug (int debug_flag, yyscan_t yyscanner) |
YY_EXTRA_TYPE | osilget_extra (yyscan_t yyscanner) |
Get the user-defined data for this scanner. More... | |
void | osilset_extra (YY_EXTRA_TYPE user_defined, yyscan_t yyscanner) |
Set the user-defined data. More... | |
FILE * | osilget_in (yyscan_t yyscanner) |
Get the input stream. More... | |
void | osilset_in (FILE *in_str, yyscan_t yyscanner) |
Set the input stream. More... | |
FILE * | osilget_out (yyscan_t yyscanner) |
Get the output stream. More... | |
void | osilset_out (FILE *out_str, yyscan_t yyscanner) |
int | osilget_leng (yyscan_t yyscanner) |
Get the length of the current token. More... | |
char * | osilget_text (yyscan_t yyscanner) |
Get the current token. More... | |
int | osilget_lineno (yyscan_t yyscanner) |
Get the current line number. More... | |
void | osilset_lineno (int line_number, yyscan_t yyscanner) |
Set the current line number. More... | |
YYSTYPE * | osilget_lval (yyscan_t yyscanner) |
void | osilset_lval (YYSTYPE *yylval_param, yyscan_t yyscanner) |
YYLTYPE * | osilget_lloc (yyscan_t yyscanner) |
void | osilset_lloc (YYLTYPE *yylloc_param, yyscan_t yyscanner) |
static int | input (yyscan_t yyscanner) |
int | osillex (YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner) |
if (!yyg->yy_init) | |
while (1) | |
int | isatty (int) |
static void | yy_fatal_error (yyconst char *msg, yyscan_t yyscanner) |
int | osilget_column (yyscan_t yyscanner) |
Get the current column number. More... | |
void | osilset_column (int column_no, yyscan_t yyscanner) |
Set the current column. More... | |
Variables | |
static yyconst flex_int16_t | yy_accept [3412] |
static yyconst flex_int32_t | yy_ec [256] |
static yyconst flex_int32_t | yy_meta [64] |
static yyconst flex_int16_t | yy_base [3423] |
static yyconst flex_int16_t | yy_def [3423] |
static yyconst flex_int16_t | yy_nxt [5598] |
static yyconst flex_int16_t | yy_chk [5598] |
static yyconst flex_int32_t | yy_rule_can_match_eol [458] |
static yyconst flex_int16_t | yy_rule_linenum [457] |
YY_DECL register yy_state_type | yy_current_state |
The main scanner function which does all the work. More... | |
register char * | yy_cp |
register char * | yy_bp |
register int | yy_act |
struct yyguts_t * | yyg = (struct yyguts_t*)yyscanner |
yylval = yylval_param | |
yylloc = yylloc_param | |
#define YY_INT_ALIGNED short int |
Definition at line 5 of file OSParseosil.cpp.
#define FLEX_SCANNER |
Definition at line 17 of file OSParseosil.cpp.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 18 of file OSParseosil.cpp.
#define YY_FLEX_MINOR_VERSION 5 |
Definition at line 19 of file OSParseosil.cpp.
#define YY_FLEX_SUBMINOR_VERSION 35 |
Definition at line 20 of file OSParseosil.cpp.
#define FLEX_BETA |
Definition at line 22 of file OSParseosil.cpp.
#define FLEXINT_H |
Definition at line 54 of file OSParseosil.cpp.
#define INT8_MIN (-128) |
Definition at line 84 of file OSParseosil.cpp.
#define INT16_MIN (-32767-1) |
Definition at line 87 of file OSParseosil.cpp.
#define INT32_MIN (-2147483647-1) |
Definition at line 90 of file OSParseosil.cpp.
#define INT8_MAX (127) |
Definition at line 93 of file OSParseosil.cpp.
#define INT16_MAX (32767) |
Definition at line 96 of file OSParseosil.cpp.
#define INT32_MAX (2147483647) |
Definition at line 99 of file OSParseosil.cpp.
#define UINT8_MAX (255U) |
Definition at line 102 of file OSParseosil.cpp.
#define UINT16_MAX (65535U) |
Definition at line 105 of file OSParseosil.cpp.
#define UINT32_MAX (4294967295U) |
Definition at line 108 of file OSParseosil.cpp.
#define yyconst |
Definition at line 138 of file OSParseosil.cpp.
#define YY_NULL 0 |
Definition at line 144 of file OSParseosil.cpp.
Definition at line 154 of file OSParseosil.cpp.
#define YY_TYPEDEF_YY_SCANNER_T |
Definition at line 161 of file OSParseosil.cpp.
#define yyin yyg->yyin_r |
Definition at line 167 of file OSParseosil.cpp.
#define yyout yyg->yyout_r |
Definition at line 168 of file OSParseosil.cpp.
#define yyextra yyg->yyextra_r |
Definition at line 169 of file OSParseosil.cpp.
#define yyleng yyg->yyleng_r |
Definition at line 170 of file OSParseosil.cpp.
#define yytext yyg->yytext_r |
Definition at line 171 of file OSParseosil.cpp.
#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) |
Definition at line 172 of file OSParseosil.cpp.
#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) |
Definition at line 173 of file OSParseosil.cpp.
#define yy_flex_debug yyg->yy_flex_debug_r |
Definition at line 174 of file OSParseosil.cpp.
#define BEGIN yyg->yy_start = 1 + 2 * |
Definition at line 185 of file OSParseosil.cpp.
#define YY_START ((yyg->yy_start - 1) / 2) |
Definition at line 191 of file OSParseosil.cpp.
#define YYSTATE YY_START |
Definition at line 192 of file OSParseosil.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 195 of file OSParseosil.cpp.
#define YY_NEW_FILE osilrestart(yyin ,yyscanner ) |
Definition at line 198 of file OSParseosil.cpp.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 200 of file OSParseosil.cpp.
#define YY_BUF_SIZE 16384 |
Definition at line 211 of file OSParseosil.cpp.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 217 of file OSParseosil.cpp.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 220 of file OSParseosil.cpp.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 232 of file OSParseosil.cpp.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 233 of file OSParseosil.cpp.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 234 of file OSParseosil.cpp.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 243 of file OSParseosil.cpp.
#define yyless | ( | n | ) |
Definition at line 7212 of file OSParseosil.cpp.
#define unput | ( | c | ) | yyunput( c, yyg->yytext_ptr , yyscanner ) |
Definition at line 265 of file OSParseosil.cpp.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 268 of file OSParseosil.cpp.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 273 of file OSParseosil.cpp.
#define YY_BUFFER_NEW 0 |
Definition at line 325 of file OSParseosil.cpp.
#define YY_BUFFER_NORMAL 1 |
Definition at line 326 of file OSParseosil.cpp.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 337 of file OSParseosil.cpp.
#define YY_CURRENT_BUFFER |
Definition at line 357 of file OSParseosil.cpp.
Definition at line 364 of file OSParseosil.cpp.
#define YY_FLUSH_BUFFER osil_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) |
Definition at line 387 of file OSParseosil.cpp.
#define yy_new_buffer osil_create_buffer |
Definition at line 399 of file OSParseosil.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 401 of file OSParseosil.cpp.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 411 of file OSParseosil.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 421 of file OSParseosil.cpp.
#define osilwrap | ( | n | ) | 1 |
Definition at line 426 of file OSParseosil.cpp.
#define YY_SKIP_YYWRAP |
Definition at line 427 of file OSParseosil.cpp.
#define FLEX_DEBUG |
Definition at line 429 of file OSParseosil.cpp.
#define yytext_ptr yytext_r |
Definition at line 435 of file OSParseosil.cpp.
#define YY_DO_BEFORE_ACTION |
Definition at line 449 of file OSParseosil.cpp.
#define YY_NUM_RULES 457 |
Definition at line 459 of file OSParseosil.cpp.
#define YY_END_OF_BUFFER 458 |
Definition at line 460 of file OSParseosil.cpp.
#define REJECT reject_used_but_not_detected |
Definition at line 2977 of file OSParseosil.cpp.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 2978 of file OSParseosil.cpp.
#define YY_MORE_ADJ 0 |
Definition at line 2979 of file OSParseosil.cpp.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 2980 of file OSParseosil.cpp.
#define YY_PRINT |
Definition at line 3009 of file OSParseosil.cpp.
#define YY_EXTRA_TYPE OSiLParserData* |
Definition at line 3087 of file OSParseosil.cpp.
#define INITIAL 0 |
Definition at line 3090 of file OSParseosil.cpp.
#define osilattributetext 1 |
Definition at line 3091 of file OSParseosil.cpp.
#define doublequoteattributetext 2 |
Definition at line 3092 of file OSParseosil.cpp.
#define singlequoteattributetext 3 |
Definition at line 3093 of file OSParseosil.cpp.
#define startelement 4 |
Definition at line 3094 of file OSParseosil.cpp.
#define elementtext 5 |
Definition at line 3095 of file OSParseosil.cpp.
#define itemtext 6 |
Definition at line 3096 of file OSParseosil.cpp.
#define comment 7 |
Definition at line 3097 of file OSParseosil.cpp.
#define xmldeclaration 8 |
Definition at line 3098 of file OSParseosil.cpp.
Definition at line 3167 of file OSParseosil.cpp.
Definition at line 3169 of file OSParseosil.cpp.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 3270 of file OSParseosil.cpp.
Definition at line 3280 of file OSParseosil.cpp.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Definition at line 3290 of file OSParseosil.cpp.
Definition at line 3330 of file OSParseosil.cpp.
#define YY_START_STACK_INCR 25 |
Definition at line 3335 of file OSParseosil.cpp.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg , yyscanner) |
Definition at line 3341 of file OSParseosil.cpp.
#define YY_DECL_IS_OURS 1 |
Definition at line 3364 of file OSParseosil.cpp.
#define YY_DECL |
Definition at line 3370 of file OSParseosil.cpp.
#define YY_USER_ACTION |
Definition at line 3381 of file OSParseosil.cpp.
#define YY_BREAK break; |
Definition at line 3386 of file OSParseosil.cpp.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 3390 of file OSParseosil.cpp.
#define YY_EXIT_FAILURE 2 |
Definition at line 7196 of file OSParseosil.cpp.
#define yyless | ( | n | ) |
Definition at line 7212 of file OSParseosil.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 7595 of file OSParseosil.cpp.
typedef signed char flex_int8_t |
Definition at line 75 of file OSParseosil.cpp.
typedef short int flex_int16_t |
Definition at line 76 of file OSParseosil.cpp.
typedef int flex_int32_t |
Definition at line 77 of file OSParseosil.cpp.
typedef unsigned char flex_uint8_t |
Definition at line 78 of file OSParseosil.cpp.
typedef unsigned short int flex_uint16_t |
Definition at line 79 of file OSParseosil.cpp.
typedef unsigned int flex_uint32_t |
Definition at line 80 of file OSParseosil.cpp.
Definition at line 162 of file OSParseosil.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 221 of file OSParseosil.cpp.
typedef size_t yy_size_t |
Definition at line 269 of file OSParseosil.cpp.
typedef unsigned char YY_CHAR |
Definition at line 431 of file OSParseosil.cpp.
typedef int yy_state_type |
Definition at line 433 of file OSParseosil.cpp.
Immediately switch to a different input stream.
input_file | A readable stream. |
yyscanner | The scanner object. |
INITIAL
. Definition at line 6775 of file OSParseosil.cpp.
void osil_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 6797 of file OSParseosil.cpp.
YY_BUFFER_STATE osil_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 6852 of file OSParseosil.cpp.
void osil_delete_buffer | ( | YY_BUFFER_STATE | b, |
yyscan_t | yyscanner | ||
) |
Destroy the buffer.
b | a buffer created with osil_create_buffer() |
yyscanner | The scanner object. |
Definition at line 6884 of file OSParseosil.cpp.
void osil_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 6957 of file OSParseosil.cpp.
void osilpush_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 6992 of file OSParseosil.cpp.
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
yyscanner | The scanner object. |
Definition at line 7029 of file OSParseosil.cpp.
Definition at line 7055 of file OSParseosil.cpp.
Definition at line 6833 of file OSParseosil.cpp.
|
static |
Definition at line 6919 of file OSParseosil.cpp.
YY_BUFFER_STATE osil_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 7110 of file OSParseosil.cpp.
YY_BUFFER_STATE osil_scan_string | ( | yyconst char * | yystr, |
yyscan_t | yyscanner | ||
) |
Setup the input buffer state to scan a string.
The next call to osillex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
yyscanner | The scanner object. |
Definition at line 7149 of file OSParseosil.cpp.
YY_BUFFER_STATE osil_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 osillex() 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. |
Definition at line 7164 of file OSParseosil.cpp.
Definition at line 7571 of file OSParseosil.cpp.
Definition at line 7576 of file OSParseosil.cpp.
Definition at line 7588 of file OSParseosil.cpp.
|
static |
Definition at line 6609 of file OSParseosil.cpp.
|
static |
Definition at line 6648 of file OSParseosil.cpp.
Definition at line 6468 of file OSParseosil.cpp.
Definition at line 7479 of file OSParseosil.cpp.
Definition at line 7419 of file OSParseosil.cpp.
int osillex_init_extra | ( | YY_EXTRA_TYPE | user_defined, |
yyscan_t * | scanner | ||
) |
Definition at line 7448 of file OSParseosil.cpp.
Definition at line 7515 of file OSParseosil.cpp.
Definition at line 7367 of file OSParseosil.cpp.
Definition at line 7373 of file OSParseosil.cpp.
YY_EXTRA_TYPE osilget_extra | ( | yyscan_t | yyscanner | ) |
Get the user-defined data for this scanner.
yyscanner | The scanner object. |
Definition at line 7234 of file OSParseosil.cpp.
void osilset_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 7311 of file OSParseosil.cpp.
FILE * osilget_in | ( | yyscan_t | yyscanner | ) |
Get the input stream.
yyscanner | The scanner object. |
Definition at line 7271 of file OSParseosil.cpp.
Set the input stream.
This does not discard the current input buffer.
in_str | A readable stream. |
yyscanner | The scanner object. |
Definition at line 7355 of file OSParseosil.cpp.
FILE * osilget_out | ( | yyscan_t | yyscanner | ) |
Get the output stream.
yyscanner | The scanner object. |
Definition at line 7280 of file OSParseosil.cpp.
Definition at line 7361 of file OSParseosil.cpp.
Get the length of the current token.
yyscanner | The scanner object. |
Definition at line 7289 of file OSParseosil.cpp.
char * osilget_text | ( | yyscan_t | yyscanner | ) |
Get the current token.
yyscanner | The scanner object. |
Definition at line 7299 of file OSParseosil.cpp.
Get the current line number.
yyscanner | The scanner object. |
Definition at line 7245 of file OSParseosil.cpp.
Set the current line number.
line_number | |
yyscanner | The scanner object. |
Definition at line 7323 of file OSParseosil.cpp.
Definition at line 7386 of file OSParseosil.cpp.
Definition at line 7392 of file OSParseosil.cpp.
Definition at line 7398 of file OSParseosil.cpp.
Definition at line 7404 of file OSParseosil.cpp.
Definition at line 6685 of file OSParseosil.cpp.
if | ( | !yyg-> | yy_init | ) |
Definition at line 3414 of file OSParseosil.cpp.
while | ( | 1 | ) |
Definition at line 3448 of file OSParseosil.cpp.
Definition at line 7200 of file OSParseosil.cpp.
Get the current column number.
yyscanner | The scanner object. |
Definition at line 7258 of file OSParseosil.cpp.
Set the current column.
line_number | |
yyscanner | The scanner object. |
Definition at line 7338 of file OSParseosil.cpp.
|
static |
Definition at line 468 of file OSParseosil.cpp.
|
static |
Definition at line 848 of file OSParseosil.cpp.
|
static |
Definition at line 880 of file OSParseosil.cpp.
|
static |
Definition at line 891 of file OSParseosil.cpp.
|
static |
Definition at line 1272 of file OSParseosil.cpp.
|
static |
Definition at line 1653 of file OSParseosil.cpp.
|
static |
Definition at line 2273 of file OSParseosil.cpp.
|
static |
Definition at line 2894 of file OSParseosil.cpp.
|
static |
Definition at line 2920 of file OSParseosil.cpp.
YY_DECL register yy_state_type yy_current_state |
The main scanner function which does all the work.
Definition at line 3399 of file OSParseosil.cpp.
register char* yy_cp |
Definition at line 3400 of file OSParseosil.cpp.
register char * yy_bp |
Definition at line 3400 of file OSParseosil.cpp.
register int yy_act |
Definition at line 3401 of file OSParseosil.cpp.
Definition at line 3402 of file OSParseosil.cpp.
yylval = yylval_param |
Definition at line 3410 of file OSParseosil.cpp.
yylloc = yylloc_param |
Definition at line 3412 of file OSParseosil.cpp.