My Project
OSParseosil.cpp File Reference
#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 "OSgLParserData.h"
#include "OSiLParserData.h"
#include "OSnLParserData.h"
#include "OSInstance.h"
#include "OSParseosil.tab.hpp"
#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   6
 
#define YY_FLEX_SUBMINOR_VERSION   4
 
#define yy_create_buffer   osil_create_buffer
 
#define yy_delete_buffer   osil_delete_buffer
 
#define yy_scan_buffer   osil_scan_buffer
 
#define yy_scan_string   osil_scan_string
 
#define yy_scan_bytes   osil_scan_bytes
 
#define yy_init_buffer   osil_init_buffer
 
#define yy_flush_buffer   osil_flush_buffer
 
#define yy_load_buffer_state   osil_load_buffer_state
 
#define yy_switch_to_buffer   osil_switch_to_buffer
 
#define yypush_buffer_state   osilpush_buffer_state
 
#define yypop_buffer_state   osilpop_buffer_state
 
#define yyensure_buffer_stack   osilensure_buffer_stack
 
#define yylex   osillex
 
#define yyrestart   osilrestart
 
#define yylex_init   osillex_init
 
#define yylex_init_extra   osillex_init_extra
 
#define yylex_destroy   osillex_destroy
 
#define yyget_debug   osilget_debug
 
#define yyset_debug   osilset_debug
 
#define yyget_extra   osilget_extra
 
#define yyset_extra   osilset_extra
 
#define yyget_in   osilget_in
 
#define yyset_in   osilset_in
 
#define yyget_out   osilget_out
 
#define yyset_out   osilset_out
 
#define yyget_leng   osilget_leng
 
#define yyget_text   osilget_text
 
#define yyget_lineno   osilget_lineno
 
#define yyset_lineno   osilset_lineno
 
#define yyget_column   osilget_column
 
#define yyset_column   osilset_column
 
#define yywrap   osilwrap
 
#define yyget_lval   osilget_lval
 
#define yyset_lval   osilset_lval
 
#define yyget_lloc   osilget_lloc
 
#define yyset_lloc   osilset_lloc
 
#define yyalloc   osilalloc
 
#define yyrealloc   osilrealloc
 
#define yyfree   osilfree
 
#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 SIZE_MAX   (~(size_t)0)
 
#define yyconst   const
 
#define yynoreturn
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(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)
 
#define YY_NEW_FILE   yyrestart( 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 YY_TYPEDEF_YY_SIZE_T
 
#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 YY_LINENO_REWIND_TO(dst)
 
#define yyless(n)
 
#define unput(c)
 
#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   yy_flush_buffer( YY_CURRENT_BUFFER , yyscanner)
 
#define yy_new_buffer   yy_create_buffer
 
#define yy_set_interactive(is_interactive)
 
#define yy_set_bol(at_bol)
 
#define YY_AT_BOL()
 
#define osilwrap(yyscanner)
 
#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()
 
#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, (size_t) yyleng, 1, yyout )) {} } while (0)
 
#define YY_INPUT(buf, result, max_size)
 
#define yyterminate()
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)
 
#define YY_DECL_IS_OURS   1
 
#define YY_DECL
 
#define YY_USER_ACTION
 
#define YY_BREAK   /*LINTED*/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_stateYY_BUFFER_STATE
 
typedef size_t yy_size_t
 
typedef flex_uint8_t YY_CHAR
 
typedef int yy_state_type
 

Functions

void yyrestart (FILE *input_file, yyscan_t yyscanner)
 
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
 
YY_BUFFER_STATE yy_create_buffer (FILE *file, int size, yyscan_t yyscanner)
 
void yy_delete_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner)
 
void yy_flush_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner)
 
void yypush_buffer_state (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
 
void yypop_buffer_state (yyscan_t yyscanner)
 
static void yyensure_buffer_stack (yyscan_t yyscanner)
 
static void yy_load_buffer_state (yyscan_t yyscanner)
 
static void yy_init_buffer (YY_BUFFER_STATE b, FILE *file, yyscan_t yyscanner)
 
YY_BUFFER_STATE yy_scan_buffer (char *base, yy_size_t size, yyscan_t yyscanner)
 
YY_BUFFER_STATE yy_scan_string (const char *yy_str, yyscan_t yyscanner)
 
YY_BUFFER_STATE yy_scan_bytes (const char *bytes, int len, yyscan_t yyscanner)
 
void * yyalloc (yy_size_t, yyscan_t yyscanner)
 
void * yyrealloc (void *, yy_size_t, yyscan_t yyscanner)
 
void yyfree (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 yynoreturn yy_fatal_error (const char *msg, yyscan_t yyscanner)
 
static int yy_init_globals (yyscan_t yyscanner)
 
int yylex_init (yyscan_t *scanner)
 
int yylex_init_extra (YY_EXTRA_TYPE user_defined, yyscan_t *scanner)
 
int yylex_destroy (yyscan_t yyscanner)
 
int yyget_debug (yyscan_t yyscanner)
 
void yyset_debug (int debug_flag, yyscan_t yyscanner)
 
YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner)
 
void yyset_extra (YY_EXTRA_TYPE user_defined, yyscan_t yyscanner)
 
FILE * yyget_in (yyscan_t yyscanner)
 
void yyset_in (FILE *_in_str, yyscan_t yyscanner)
 
FILE * yyget_out (yyscan_t yyscanner)
 
void yyset_out (FILE *_out_str, yyscan_t yyscanner)
 
int yyget_leng (yyscan_t yyscanner)
 
char * yyget_text (yyscan_t yyscanner)
 
int yyget_lineno (yyscan_t yyscanner)
 
void yyset_lineno (int _line_number, yyscan_t yyscanner)
 
int yyget_column (yyscan_t yyscanner)
 
void yyset_column (int _column_no, yyscan_t yyscanner)
 
YYSTYPEyyget_lval (yyscan_t yyscanner)
 
void yyset_lval (YYSTYPE *yylval_param, yyscan_t yyscanner)
 
YYLTYPEyyget_lloc (yyscan_t yyscanner)
 
void yyset_lloc (YYLTYPE *yylloc_param, yyscan_t yyscanner)
 
static int input (yyscan_t yyscanner)
 
int yylex (YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner)
 
 if (!yyg->yy_init)
 

Variables

static const flex_int16_t yy_accept [3412]
 
static const YY_CHAR yy_ec [256]
 
static const YY_CHAR yy_meta [64]
 
static const flex_int16_t yy_base [3423]
 
static const flex_int16_t yy_def [3423]
 
static const flex_int16_t yy_nxt [5598]
 
static const flex_int16_t yy_chk [5598]
 
static const flex_int32_t yy_rule_can_match_eol [458]
 
static const flex_int16_t yy_rule_linenum [457]
 
 YY_DECL
 The main scanner function which does all the work.
 
char * yy_cp
 
char * yy_bp
 
int yy_act
 
struct yyguts_tyyg = (struct yyguts_t*)yyscanner
 
 yylval = yylval_param
 
 yylloc = yylloc_param
 

Macro Definition Documentation

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 5 of file OSParseosil.cpp.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 16 of file OSParseosil.cpp.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 17 of file OSParseosil.cpp.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

Definition at line 18 of file OSParseosil.cpp.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   4

Definition at line 19 of file OSParseosil.cpp.

◆ yy_create_buffer

#define yy_create_buffer   osil_create_buffer

Definition at line 31 of file OSParseosil.cpp.

◆ yy_delete_buffer

#define yy_delete_buffer   osil_delete_buffer

Definition at line 37 of file OSParseosil.cpp.

◆ yy_scan_buffer

#define yy_scan_buffer   osil_scan_buffer

Definition at line 43 of file OSParseosil.cpp.

◆ yy_scan_string

#define yy_scan_string   osil_scan_string

Definition at line 49 of file OSParseosil.cpp.

◆ yy_scan_bytes

#define yy_scan_bytes   osil_scan_bytes

Definition at line 55 of file OSParseosil.cpp.

◆ yy_init_buffer

#define yy_init_buffer   osil_init_buffer

Definition at line 61 of file OSParseosil.cpp.

◆ yy_flush_buffer

#define yy_flush_buffer   osil_flush_buffer

Definition at line 67 of file OSParseosil.cpp.

◆ yy_load_buffer_state

#define yy_load_buffer_state   osil_load_buffer_state

Definition at line 73 of file OSParseosil.cpp.

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   osil_switch_to_buffer

Definition at line 79 of file OSParseosil.cpp.

◆ yypush_buffer_state

#define yypush_buffer_state   osilpush_buffer_state

Definition at line 85 of file OSParseosil.cpp.

◆ yypop_buffer_state

#define yypop_buffer_state   osilpop_buffer_state

Definition at line 91 of file OSParseosil.cpp.

◆ yyensure_buffer_stack

#define yyensure_buffer_stack   osilensure_buffer_stack

Definition at line 97 of file OSParseosil.cpp.

◆ yylex

#define yylex   osillex

Definition at line 103 of file OSParseosil.cpp.

◆ yyrestart

#define yyrestart   osilrestart

Definition at line 109 of file OSParseosil.cpp.

◆ yylex_init

#define yylex_init   osillex_init

Definition at line 115 of file OSParseosil.cpp.

◆ yylex_init_extra

#define yylex_init_extra   osillex_init_extra

Definition at line 121 of file OSParseosil.cpp.

◆ yylex_destroy

#define yylex_destroy   osillex_destroy

Definition at line 127 of file OSParseosil.cpp.

◆ yyget_debug

#define yyget_debug   osilget_debug

Definition at line 133 of file OSParseosil.cpp.

◆ yyset_debug

#define yyset_debug   osilset_debug

Definition at line 139 of file OSParseosil.cpp.

◆ yyget_extra

#define yyget_extra   osilget_extra

Definition at line 145 of file OSParseosil.cpp.

◆ yyset_extra

#define yyset_extra   osilset_extra

Definition at line 151 of file OSParseosil.cpp.

◆ yyget_in

#define yyget_in   osilget_in

Definition at line 157 of file OSParseosil.cpp.

◆ yyset_in

#define yyset_in   osilset_in

Definition at line 163 of file OSParseosil.cpp.

◆ yyget_out

#define yyget_out   osilget_out

Definition at line 169 of file OSParseosil.cpp.

◆ yyset_out

#define yyset_out   osilset_out

Definition at line 175 of file OSParseosil.cpp.

◆ yyget_leng

#define yyget_leng   osilget_leng

Definition at line 181 of file OSParseosil.cpp.

◆ yyget_text

#define yyget_text   osilget_text

Definition at line 187 of file OSParseosil.cpp.

◆ yyget_lineno

#define yyget_lineno   osilget_lineno

Definition at line 193 of file OSParseosil.cpp.

◆ yyset_lineno

#define yyset_lineno   osilset_lineno

Definition at line 199 of file OSParseosil.cpp.

◆ yyget_column

#define yyget_column   osilget_column

Definition at line 205 of file OSParseosil.cpp.

◆ yyset_column

#define yyset_column   osilset_column

Definition at line 211 of file OSParseosil.cpp.

◆ yywrap

#define yywrap   osilwrap

Definition at line 217 of file OSParseosil.cpp.

◆ yyget_lval

#define yyget_lval   osilget_lval

Definition at line 225 of file OSParseosil.cpp.

◆ yyset_lval

#define yyset_lval   osilset_lval

Definition at line 231 of file OSParseosil.cpp.

◆ yyget_lloc

#define yyget_lloc   osilget_lloc

Definition at line 237 of file OSParseosil.cpp.

◆ yyset_lloc

#define yyset_lloc   osilset_lloc

Definition at line 243 of file OSParseosil.cpp.

◆ yyalloc

#define yyalloc   osilalloc

Definition at line 249 of file OSParseosil.cpp.

◆ yyrealloc

#define yyrealloc   osilrealloc

Definition at line 255 of file OSParseosil.cpp.

◆ yyfree

#define yyfree   osilfree

Definition at line 261 of file OSParseosil.cpp.

◆ FLEXINT_H

#define FLEXINT_H

Definition at line 286 of file OSParseosil.cpp.

◆ INT8_MIN

#define INT8_MIN   (-128)

Definition at line 316 of file OSParseosil.cpp.

◆ INT16_MIN

#define INT16_MIN   (-32767-1)

Definition at line 319 of file OSParseosil.cpp.

◆ INT32_MIN

#define INT32_MIN   (-2147483647-1)

Definition at line 322 of file OSParseosil.cpp.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 325 of file OSParseosil.cpp.

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 328 of file OSParseosil.cpp.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 331 of file OSParseosil.cpp.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 334 of file OSParseosil.cpp.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 337 of file OSParseosil.cpp.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 340 of file OSParseosil.cpp.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

Definition at line 344 of file OSParseosil.cpp.

◆ yyconst

#define yyconst   const

Definition at line 358 of file OSParseosil.cpp.

◆ yynoreturn

#define yynoreturn

Definition at line 363 of file OSParseosil.cpp.

◆ YY_NULL

#define YY_NULL   0

Definition at line 368 of file OSParseosil.cpp.

◆ YY_SC_TO_UI

#define YY_SC_TO_UI ( c)
Value:
((YY_CHAR) (c))
flex_uint8_t YY_CHAR

Definition at line 375 of file OSParseosil.cpp.

◆ YY_TYPEDEF_YY_SCANNER_T

#define YY_TYPEDEF_YY_SCANNER_T

Definition at line 382 of file OSParseosil.cpp.

◆ yyin

#define yyin   yyg->yyin_r

Definition at line 388 of file OSParseosil.cpp.

◆ yyout

#define yyout   yyg->yyout_r

Definition at line 389 of file OSParseosil.cpp.

◆ yyextra

#define yyextra   yyg->yyextra_r

Definition at line 390 of file OSParseosil.cpp.

◆ yyleng

#define yyleng   yyg->yyleng_r

Definition at line 391 of file OSParseosil.cpp.

◆ yytext

#define yytext   yyg->yytext_r

Definition at line 392 of file OSParseosil.cpp.

◆ yylineno

#define yylineno   (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)

Definition at line 393 of file OSParseosil.cpp.

◆ yycolumn

#define yycolumn   (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)

Definition at line 394 of file OSParseosil.cpp.

◆ yy_flex_debug

#define yy_flex_debug   yyg->yy_flex_debug_r

Definition at line 395 of file OSParseosil.cpp.

◆ BEGIN

#define BEGIN   yyg->yy_start = 1 + 2 *

Definition at line 406 of file OSParseosil.cpp.

◆ YY_START

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

Definition at line 411 of file OSParseosil.cpp.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 412 of file OSParseosil.cpp.

◆ YY_STATE_EOF

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

Definition at line 414 of file OSParseosil.cpp.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart( yyin , yyscanner )

Definition at line 416 of file OSParseosil.cpp.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 417 of file OSParseosil.cpp.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 428 of file OSParseosil.cpp.

◆ YY_STATE_BUF_SIZE

#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

Definition at line 434 of file OSParseosil.cpp.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 437 of file OSParseosil.cpp.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 442 of file OSParseosil.cpp.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 454 of file OSParseosil.cpp.

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 455 of file OSParseosil.cpp.

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 456 of file OSParseosil.cpp.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO ( n)
Value:
do { \
int yyl;\
for ( yyl = n; yyl < yyleng; ++yyl )\
if ( yytext[yyl] == '\n' )\
}while(0)
#define yytext
#define yylineno
#define yyleng

Definition at line 465 of file OSParseosil.cpp.

◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO ( dst)
Value:
do {\
const char *p;\
for ( p = yy_cp-1; p >= (dst); --p)\
if ( *p == '\n' )\
}while(0)
char * yy_cp

Definition at line 472 of file OSParseosil.cpp.

◆ yyless [1/2]

#define yyless ( n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
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 )
#define YY_MORE_ADJ
struct yyguts_t * yyg
char * yy_bp
#define YY_DO_BEFORE_ACTION
char yy_hold_char

Definition at line 481 of file OSParseosil.cpp.

◆ unput

#define unput ( c)
Value:
yyunput( c, yyg->yytext_ptr , yyscanner )
static void yyunput(int c, char *buf_ptr, yyscan_t yyscanner)

Definition at line 493 of file OSParseosil.cpp.

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 496 of file OSParseosil.cpp.

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 548 of file OSParseosil.cpp.

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 549 of file OSParseosil.cpp.

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 560 of file OSParseosil.cpp.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER
Value:
: NULL)
YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
size_t yy_buffer_stack_top
index of top of stack.

Definition at line 579 of file OSParseosil.cpp.

◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE   yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]

Definition at line 585 of file OSParseosil.cpp.

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER , yyscanner)

Definition at line 606 of file OSParseosil.cpp.

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 618 of file OSParseosil.cpp.

◆ yy_set_interactive

#define yy_set_interactive ( is_interactive)
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (yyscanner); \
yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
#define YY_CURRENT_BUFFER_LVALUE
#define YY_CURRENT_BUFFER
#define yyin
#define YY_BUF_SIZE

Definition at line 619 of file OSParseosil.cpp.

◆ yy_set_bol

#define yy_set_bol ( at_bol)
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (yyscanner); \
yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}

Definition at line 628 of file OSParseosil.cpp.

◆ YY_AT_BOL

#define YY_AT_BOL ( )
Value:

Definition at line 637 of file OSParseosil.cpp.

◆ osilwrap

#define osilwrap ( yyscanner)
Value:
(/*CONSTCOND*/1)

Definition at line 642 of file OSParseosil.cpp.

◆ YY_SKIP_YYWRAP

#define YY_SKIP_YYWRAP

Definition at line 643 of file OSParseosil.cpp.

◆ FLEX_DEBUG

#define FLEX_DEBUG

Definition at line 645 of file OSParseosil.cpp.

◆ yytext_ptr

#define yytext_ptr   yytext_r

Definition at line 650 of file OSParseosil.cpp.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
yyg->yytext_ptr = yy_bp; \
/* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\
yyleng = (int) (yy_cp - yy_bp); \
*yy_cp = '\0'; \
/* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\
char * yy_c_buf_p

Definition at line 666 of file OSParseosil.cpp.

◆ YY_NUM_RULES

#define YY_NUM_RULES   457

Definition at line 675 of file OSParseosil.cpp.

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   458

Definition at line 676 of file OSParseosil.cpp.

◆ REJECT

#define REJECT   reject_used_but_not_detected

Definition at line 3193 of file OSParseosil.cpp.

◆ yymore

#define yymore ( )
Value:
yymore_used_but_not_detected

Definition at line 3194 of file OSParseosil.cpp.

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

Definition at line 3195 of file OSParseosil.cpp.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 3196 of file OSParseosil.cpp.

◆ YY_PRINT

#define YY_PRINT

Definition at line 3225 of file OSParseosil.cpp.

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   OSiLParserData*

Definition at line 3300 of file OSParseosil.cpp.

◆ INITIAL

#define INITIAL   0

Definition at line 3304 of file OSParseosil.cpp.

◆ osilattributetext

#define osilattributetext   1

Definition at line 3305 of file OSParseosil.cpp.

◆ doublequoteattributetext

#define doublequoteattributetext   2

Definition at line 3306 of file OSParseosil.cpp.

◆ singlequoteattributetext

#define singlequoteattributetext   3

Definition at line 3307 of file OSParseosil.cpp.

◆ startelement

#define startelement   4

Definition at line 3308 of file OSParseosil.cpp.

◆ elementtext

#define elementtext   5

Definition at line 3309 of file OSParseosil.cpp.

◆ itemtext

#define itemtext   6

Definition at line 3310 of file OSParseosil.cpp.

◆ comment

#define comment   7

Definition at line 3311 of file OSParseosil.cpp.

◆ xmldeclaration

#define xmldeclaration   8

Definition at line 3312 of file OSParseosil.cpp.

◆ yylval

yyreturn & yylval   yyg->yylval_r

Definition at line 3381 of file OSParseosil.cpp.

◆ yylloc

yyreturn & yylloc   yyg->yylloc_r

Definition at line 3383 of file OSParseosil.cpp.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 3489 of file OSParseosil.cpp.

◆ ECHO

#define ECHO   do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)

Definition at line 3499 of file OSParseosil.cpp.

◆ YY_INPUT

#define YY_INPUT ( buf,
result,
max_size )

Definition at line 3509 of file OSParseosil.cpp.

◆ yyterminate

#define yyterminate ( )
Value:
return YY_NULL
#define YY_NULL

Definition at line 3549 of file OSParseosil.cpp.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 3554 of file OSParseosil.cpp.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR ( msg)
Value:
yy_fatal_error( msg , yyscanner)
static void yynoreturn yy_fatal_error(const char *msg, yyscan_t yyscanner)

Definition at line 3560 of file OSParseosil.cpp.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

Definition at line 3581 of file OSParseosil.cpp.

◆ YY_DECL

#define YY_DECL
Value:
int yylex \
(YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
void * yyscan_t
#define yylex

Definition at line 3587 of file OSParseosil.cpp.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 3598 of file OSParseosil.cpp.

◆ YY_BREAK

#define YY_BREAK   /*LINTED*/break;

Definition at line 3603 of file OSParseosil.cpp.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP    YY_USER_ACTION

Definition at line 3607 of file OSParseosil.cpp.

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

◆ yyless [2/2]

#define yyless ( n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
*yyg->yy_c_buf_p = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )

Definition at line 481 of file OSParseosil.cpp.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

Typedef Documentation

◆ flex_int8_t

typedef signed char flex_int8_t

Definition at line 307 of file OSParseosil.cpp.

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 308 of file OSParseosil.cpp.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 309 of file OSParseosil.cpp.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 310 of file OSParseosil.cpp.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 311 of file OSParseosil.cpp.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 312 of file OSParseosil.cpp.

◆ yyscan_t

typedef void* yyscan_t

Definition at line 383 of file OSParseosil.cpp.

◆ YY_BUFFER_STATE

Definition at line 438 of file OSParseosil.cpp.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 443 of file OSParseosil.cpp.

◆ YY_CHAR

typedef unsigned char YY_CHAR

Definition at line 646 of file OSParseosil.cpp.

◆ yy_state_type

typedef int yy_state_type

Definition at line 648 of file OSParseosil.cpp.

Function Documentation

◆ yyrestart()

void yyrestart ( FILE * input_file,
yyscan_t yyscanner )

◆ yy_switch_to_buffer()

void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer,
yyscan_t yyscanner )

◆ yy_create_buffer()

YY_BUFFER_STATE yy_create_buffer ( FILE * file,
int size,
yyscan_t yyscanner )

◆ yy_delete_buffer()

void yy_delete_buffer ( YY_BUFFER_STATE b,
yyscan_t yyscanner )

◆ yy_flush_buffer()

void yy_flush_buffer ( YY_BUFFER_STATE b,
yyscan_t yyscanner )

◆ yypush_buffer_state()

void yypush_buffer_state ( YY_BUFFER_STATE new_buffer,
yyscan_t yyscanner )

◆ yypop_buffer_state()

void yypop_buffer_state ( yyscan_t yyscanner)

◆ yyensure_buffer_stack()

static void yyensure_buffer_stack ( yyscan_t yyscanner)
static

◆ yy_load_buffer_state()

static void yy_load_buffer_state ( yyscan_t yyscanner)
static

◆ yy_init_buffer()

static void yy_init_buffer ( YY_BUFFER_STATE b,
FILE * file,
yyscan_t yyscanner )
static

◆ yy_scan_buffer()

YY_BUFFER_STATE yy_scan_buffer ( char * base,
yy_size_t size,
yyscan_t yyscanner )

◆ yy_scan_string()

YY_BUFFER_STATE yy_scan_string ( const char * yy_str,
yyscan_t yyscanner )

◆ yy_scan_bytes()

YY_BUFFER_STATE yy_scan_bytes ( const char * bytes,
int len,
yyscan_t yyscanner )

◆ yyalloc()

void * yyalloc ( yy_size_t ,
yyscan_t yyscanner )

◆ yyrealloc()

void * yyrealloc ( void * ,
yy_size_t ,
yyscan_t yyscanner )

◆ yyfree()

void yyfree ( void * ,
yyscan_t yyscanner )

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( yyscan_t yyscanner)
static

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type current_state,
yyscan_t yyscanner )
static

◆ yy_get_next_buffer()

static int yy_get_next_buffer ( yyscan_t yyscanner)
static

◆ yy_fatal_error()

static void yynoreturn yy_fatal_error ( const char * msg,
yyscan_t yyscanner )
static

◆ yy_init_globals()

static int yy_init_globals ( yyscan_t yyscanner)
static

◆ yylex_init()

int yylex_init ( yyscan_t * scanner)

◆ yylex_init_extra()

int yylex_init_extra ( YY_EXTRA_TYPE user_defined,
yyscan_t * scanner )

◆ yylex_destroy()

int yylex_destroy ( yyscan_t yyscanner)

◆ yyget_debug()

int yyget_debug ( yyscan_t yyscanner)

◆ yyset_debug()

void yyset_debug ( int debug_flag,
yyscan_t yyscanner )

◆ yyget_extra()

YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner)

◆ yyset_extra()

void yyset_extra ( YY_EXTRA_TYPE user_defined,
yyscan_t yyscanner )

◆ yyget_in()

FILE * yyget_in ( yyscan_t yyscanner)

◆ yyset_in()

void yyset_in ( FILE * _in_str,
yyscan_t yyscanner )

◆ yyget_out()

FILE * yyget_out ( yyscan_t yyscanner)

◆ yyset_out()

void yyset_out ( FILE * _out_str,
yyscan_t yyscanner )

◆ yyget_leng()

int yyget_leng ( yyscan_t yyscanner)

◆ yyget_text()

char * yyget_text ( yyscan_t yyscanner)

◆ yyget_lineno()

int yyget_lineno ( yyscan_t yyscanner)

◆ yyset_lineno()

void yyset_lineno ( int _line_number,
yyscan_t yyscanner )

◆ yyget_column()

int yyget_column ( yyscan_t yyscanner)

◆ yyset_column()

void yyset_column ( int _column_no,
yyscan_t yyscanner )

◆ yyget_lval()

YYSTYPE * yyget_lval ( yyscan_t yyscanner)

◆ yyset_lval()

void yyset_lval ( YYSTYPE * yylval_param,
yyscan_t yyscanner )

◆ yyget_lloc()

YYLTYPE * yyget_lloc ( yyscan_t yyscanner)

◆ yyset_lloc()

void yyset_lloc ( YYLTYPE * yylloc_param,
yyscan_t yyscanner )

◆ input()

static int input ( yyscan_t yyscanner)
static

◆ yylex()

int yylex ( YYSTYPE * yylval_param,
YYLTYPE * yylloc_param,
yyscan_t yyscanner )
extern

◆ if()

if ( !yyg-> yy_init)

Definition at line 3624 of file OSParseosil.cpp.

Variable Documentation

◆ yy_accept

const flex_int16_t yy_accept[3412]
static

Definition at line 684 of file OSParseosil.cpp.

◆ yy_ec

const YY_CHAR yy_ec[256]
static

Definition at line 1064 of file OSParseosil.cpp.

◆ yy_meta

const YY_CHAR yy_meta[64]
static
Initial value:
=
{ 0,
1, 2, 2, 1, 3, 2, 4, 2, 2, 2,
2, 2, 2, 2, 5, 2, 1, 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, 2, 1
}

Definition at line 1096 of file OSParseosil.cpp.

◆ yy_base

const flex_int16_t yy_base[3423]
static

Definition at line 1107 of file OSParseosil.cpp.

◆ yy_def

const flex_int16_t yy_def[3423]
static

Definition at line 1488 of file OSParseosil.cpp.

◆ yy_nxt

const flex_int16_t yy_nxt[5598]
static

Definition at line 1869 of file OSParseosil.cpp.

◆ yy_chk

const flex_int16_t yy_chk[5598]
static

Definition at line 2489 of file OSParseosil.cpp.

◆ yy_rule_can_match_eol

const flex_int32_t yy_rule_can_match_eol[458]
static
Initial value:
=
{ 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, 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, 0, 0, }

Definition at line 3110 of file OSParseosil.cpp.

◆ yy_rule_linenum

const flex_int16_t yy_rule_linenum[457]
static

Definition at line 3136 of file OSParseosil.cpp.

◆ YY_DECL

YY_DECL
Initial value:
{
yy_state_type yy_current_state
int yy_state_type

The main scanner function which does all the work.

Definition at line 3613 of file OSParseosil.cpp.

◆ yy_cp

char* yy_cp

Definition at line 3616 of file OSParseosil.cpp.

◆ yy_bp

char * yy_bp

Definition at line 3616 of file OSParseosil.cpp.

◆ yy_act

int yy_act

Definition at line 3617 of file OSParseosil.cpp.

◆ yyg

struct yyguts_t* yyg = (struct yyguts_t*)yyscanner

Definition at line 3618 of file OSParseosil.cpp.

◆ yylval

yylval = yylval_param

Definition at line 3620 of file OSParseosil.cpp.

◆ yylloc

yylloc = yylloc_param

Definition at line 3622 of file OSParseosil.cpp.