cprover
|
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <cctype>
#include <cstring>
#include <cstdlib>
#include "xml_parser.h"
#include "xml_y.tab.h"
#include <util/pragma_wsign_compare.def>
#include <util/pragma_wnull_conversion.def>
#include <util/pragma_wdeprecated_register.def>
Go to the source code of this file.
Classes | |
struct | yy_buffer_state |
struct | yy_trans_info |
Typedefs | |
typedef signed char | flex_int8_t |
typedef short int | flex_int16_t |
typedef int | flex_int32_t |
typedef unsigned char | flex_uint8_t |
typedef unsigned short int | flex_uint16_t |
typedef unsigned int | flex_uint32_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef size_t | yy_size_t |
typedef flex_uint8_t | YY_CHAR |
typedef int | yy_state_type |
Functions | |
void | yyxmlrestart (FILE *input_file) |
Immediately switch to a different input stream. More... | |
void | yyxml_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
Switch to a different input buffer. More... | |
YY_BUFFER_STATE | yyxml_create_buffer (FILE *file, int size) |
Allocate and initialize an input buffer state. More... | |
void | yyxml_delete_buffer (YY_BUFFER_STATE b) |
Destroy the buffer. More... | |
void | yyxml_flush_buffer (YY_BUFFER_STATE b) |
Discard all buffered characters. More... | |
void | yyxmlpush_buffer_state (YY_BUFFER_STATE new_buffer) |
Pushes the new state onto the stack. More... | |
void | yyxmlpop_buffer_state (void) |
Removes and deletes the top of the stack, if present. More... | |
static void | yyxmlensure_buffer_stack (void) |
static void | yyxml_load_buffer_state (void) |
static void | yyxml_init_buffer (YY_BUFFER_STATE b, FILE *file) |
YY_BUFFER_STATE | yyxml_scan_buffer (char *base, yy_size_t size) |
Setup the input buffer state to scan directly from a user-specified character buffer. More... | |
YY_BUFFER_STATE | yyxml_scan_string (const char *yystr) |
Setup the input buffer state to scan a string. More... | |
YY_BUFFER_STATE | yyxml_scan_bytes (const char *yybytes, int _yybytes_len) |
Setup the input buffer state to scan the given bytes. More... | |
void * | yyxmlalloc (yy_size_t) |
void * | yyxmlrealloc (void *, yy_size_t) |
void | yyxmlfree (void *) |
static yy_state_type | yy_get_previous_state (void) |
static yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
static int | yy_get_next_buffer (void) |
static void | yy_fatal_error (const char *msg) |
static char * | word (char *s) |
static int | yy_init_globals (void) |
int | yyxmllex_destroy (void) |
int | yyxmlget_debug (void) |
void | yyxmlset_debug (int debug_flag) |
void * | yyxmlget_extra (void) |
void | yyxmlset_extra (void *user_defined) |
FILE * | yyxmlget_in (void) |
Get the input stream. More... | |
void | yyxmlset_in (FILE *_in_str) |
Set the input stream. More... | |
FILE * | yyxmlget_out (void) |
Get the output stream. More... | |
void | yyxmlset_out (FILE *_out_str) |
int | yyxmlget_leng (void) |
Get the length of the current token. More... | |
char * | yyxmlget_text (void) |
Get the current token. More... | |
int | yyxmlget_lineno (void) |
Get the current line number. More... | |
void | yyxmlset_lineno (int _line_number) |
Set the current line number. More... | |
int | yyxmlwrap (void) |
int | yyxmllex (void) |
The main scanner function which does all the work. More... | |
Variables | |
int | yyxmlleng |
FILE * | yyxmlin = NULL |
FILE * | yyxmlout = NULL |
static size_t | yy_buffer_stack_top = 0 |
index of top of stack. More... | |
static size_t | yy_buffer_stack_max = 0 |
capacity of stack. More... | |
static YY_BUFFER_STATE * | yy_buffer_stack = NULL |
Stack as an array. More... | |
static char | yy_hold_char |
static int | yy_n_chars |
static char * | yy_c_buf_p = NULL |
static int | yy_init = 0 |
static int | yy_start = 0 |
static int | yy_did_buffer_switch_on_eof |
int | yyxmllineno = 1 |
char * | yyxmltext |
static const flex_int16_t | yy_accept [108] |
static const YY_CHAR | yy_ec [256] |
static const YY_CHAR | yy_meta [33] |
static const flex_int16_t | yy_base [126] |
static const flex_int16_t | yy_def [126] |
static const flex_int16_t | yy_nxt [363] |
static const flex_int16_t | yy_chk [363] |
static yy_state_type | yy_last_accepting_state |
static char * | yy_last_accepting_cpos |
int | yyxml_flex_debug = 0 |
#define BEGIN (yy_start) = 1 + 2 * |
Definition at line 378 of file xml_lex.yy.cpp.
#define CONTENT 1 |
Definition at line 869 of file xml_lex.yy.cpp.
#define DTD 3 |
Definition at line 871 of file xml_lex.yy.cpp.
Definition at line 964 of file xml_lex.yy.cpp.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 422 of file xml_lex.yy.cpp.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 423 of file xml_lex.yy.cpp.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 424 of file xml_lex.yy.cpp.
#define FLEX_BETA |
Definition at line 40 of file xml_lex.yy.cpp.
#define FLEX_SCANNER |
Definition at line 35 of file xml_lex.yy.cpp.
#define FLEXINT_H |
Definition at line 290 of file xml_lex.yy.cpp.
#define INITIAL 0 |
Definition at line 868 of file xml_lex.yy.cpp.
#define INT16_MAX (32767) |
Definition at line 332 of file xml_lex.yy.cpp.
#define INT16_MIN (-32767-1) |
Definition at line 323 of file xml_lex.yy.cpp.
#define INT32_MAX (2147483647) |
Definition at line 335 of file xml_lex.yy.cpp.
#define INT32_MIN (-2147483647-1) |
Definition at line 326 of file xml_lex.yy.cpp.
#define INT8_MAX (127) |
Definition at line 329 of file xml_lex.yy.cpp.
#define INT8_MIN (-128) |
Definition at line 320 of file xml_lex.yy.cpp.
#define PARSER xml_parser |
Definition at line 838 of file xml_lex.yy.cpp.
#define PI 2 |
Definition at line 870 of file xml_lex.yy.cpp.
#define REJECT reject_used_but_not_detected |
Definition at line 813 of file xml_lex.yy.cpp.
#define SIZE_MAX (~(size_t)0) |
Definition at line 348 of file xml_lex.yy.cpp.
#define UINT16_MAX (65535U) |
Definition at line 341 of file xml_lex.yy.cpp.
#define UINT32_MAX (4294967295U) |
Definition at line 344 of file xml_lex.yy.cpp.
#define UINT8_MAX (255U) |
Definition at line 338 of file xml_lex.yy.cpp.
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 442 of file xml_lex.yy.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 583 of file xml_lex.yy.cpp.
#define YY_BREAK /*LINTED*/break; |
Definition at line 1043 of file xml_lex.yy.cpp.
#define YY_BUF_SIZE 16384 |
Definition at line 400 of file xml_lex.yy.cpp.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 504 of file xml_lex.yy.cpp.
#define YY_BUFFER_NEW 0 |
Definition at line 492 of file xml_lex.yy.cpp.
#define YY_BUFFER_NORMAL 1 |
Definition at line 493 of file xml_lex.yy.cpp.
#define yy_create_buffer yyxml_create_buffer |
Definition at line 10 of file xml_lex.yy.cpp.
#define YY_CURRENT_BUFFER |
Definition at line 520 of file xml_lex.yy.cpp.
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 526 of file xml_lex.yy.cpp.
#define YY_DECL int yylex (void) |
Definition at line 1031 of file xml_lex.yy.cpp.
#define YY_DECL_IS_OURS 1 |
Definition at line 1027 of file xml_lex.yy.cpp.
#define yy_delete_buffer yyxml_delete_buffer |
Definition at line 11 of file xml_lex.yy.cpp.
#define YY_DO_BEFORE_ACTION |
Definition at line 609 of file xml_lex.yy.cpp.
#define YY_END_OF_BUFFER 20 |
Definition at line 616 of file xml_lex.yy.cpp.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 389 of file xml_lex.yy.cpp.
#define YY_EXIT_FAILURE 2 |
Definition at line 2014 of file xml_lex.yy.cpp.
#define YY_EXTRA_TYPE void * |
Definition at line 882 of file xml_lex.yy.cpp.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 1018 of file xml_lex.yy.cpp.
#define yy_flex_debug yyxml_flex_debug |
Definition at line 22 of file xml_lex.yy.cpp.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 36 of file xml_lex.yy.cpp.
#define YY_FLEX_MINOR_VERSION 6 |
Definition at line 37 of file xml_lex.yy.cpp.
#define YY_FLEX_SUBMINOR_VERSION 4 |
Definition at line 38 of file xml_lex.yy.cpp.
#define yy_flush_buffer yyxml_flush_buffer |
Definition at line 16 of file xml_lex.yy.cpp.
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
Definition at line 554 of file xml_lex.yy.cpp.
#define yy_init_buffer yyxml_init_buffer |
Definition at line 15 of file xml_lex.yy.cpp.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Definition at line 971 of file xml_lex.yy.cpp.
#define YY_INT_ALIGNED short int |
Definition at line 6 of file xml_lex.yy.cpp.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 426 of file xml_lex.yy.cpp.
#define YY_LINENO_REWIND_TO | ( | ptr | ) |
Definition at line 427 of file xml_lex.yy.cpp.
#define yy_load_buffer_state yyxml_load_buffer_state |
Definition at line 17 of file xml_lex.yy.cpp.
#define YY_MORE_ADJ 0 |
Definition at line 815 of file xml_lex.yy.cpp.
#define yy_new_buffer yy_create_buffer |
Definition at line 564 of file xml_lex.yy.cpp.
Definition at line 388 of file xml_lex.yy.cpp.
#define YY_NO_INPUT 1 |
Definition at line 819 of file xml_lex.yy.cpp.
#define YY_NO_UNISTD_H 1 |
Definition at line 820 of file xml_lex.yy.cpp.
#define YY_NULL 0 |
Definition at line 367 of file xml_lex.yy.cpp.
#define YY_NUM_RULES 19 |
Definition at line 615 of file xml_lex.yy.cpp.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 955 of file xml_lex.yy.cpp.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 816 of file xml_lex.yy.cpp.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 1046 of file xml_lex.yy.cpp.
#define YY_SC_TO_UI | ( | c | ) | ((YY_CHAR) (c)) |
Definition at line 372 of file xml_lex.yy.cpp.
#define yy_scan_buffer yyxml_scan_buffer |
Definition at line 12 of file xml_lex.yy.cpp.
#define yy_scan_bytes yyxml_scan_bytes |
Definition at line 14 of file xml_lex.yy.cpp.
#define yy_scan_string yyxml_scan_string |
Definition at line 13 of file xml_lex.yy.cpp.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 574 of file xml_lex.yy.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 565 of file xml_lex.yy.cpp.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 383 of file xml_lex.yy.cpp.
#define YY_START_STACK_INCR 25 |
Definition at line 1013 of file xml_lex.yy.cpp.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 406 of file xml_lex.yy.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 386 of file xml_lex.yy.cpp.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 445 of file xml_lex.yy.cpp.
#define yy_switch_to_buffer yyxml_switch_to_buffer |
Definition at line 18 of file xml_lex.yy.cpp.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 409 of file xml_lex.yy.cpp.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 414 of file xml_lex.yy.cpp.
#define YY_USER_ACTION |
Definition at line 1038 of file xml_lex.yy.cpp.
#define yyalloc yyxmlalloc |
Definition at line 31 of file xml_lex.yy.cpp.
#define yyconst const |
Definition at line 358 of file xml_lex.yy.cpp.
#define yyensure_buffer_stack yyxmlensure_buffer_stack |
Definition at line 21 of file xml_lex.yy.cpp.
#define yyfree yyxmlfree |
Definition at line 33 of file xml_lex.yy.cpp.
#define yyget_debug yyxmlget_debug |
Definition at line 148 of file xml_lex.yy.cpp.
#define yyget_extra yyxmlget_extra |
Definition at line 160 of file xml_lex.yy.cpp.
#define yyget_in yyxmlget_in |
Definition at line 172 of file xml_lex.yy.cpp.
#define yyget_leng yyxmlget_leng |
Definition at line 196 of file xml_lex.yy.cpp.
#define yyget_lineno yyxmlget_lineno |
Definition at line 208 of file xml_lex.yy.cpp.
#define yyget_out yyxmlget_out |
Definition at line 184 of file xml_lex.yy.cpp.
#define yyget_text yyxmlget_text |
Definition at line 202 of file xml_lex.yy.cpp.
#define yyin yyxmlin |
Definition at line 23 of file xml_lex.yy.cpp.
#define yyleng yyxmlleng |
Definition at line 24 of file xml_lex.yy.cpp.
#define yyless | ( | n | ) |
Definition at line 2026 of file xml_lex.yy.cpp.
#define yyless | ( | n | ) |
Definition at line 2026 of file xml_lex.yy.cpp.
#define yylex yyxmllex |
Definition at line 25 of file xml_lex.yy.cpp.
#define yylex_destroy yyxmllex_destroy |
Definition at line 142 of file xml_lex.yy.cpp.
#define yylex_init yyxmllex_init |
Definition at line 130 of file xml_lex.yy.cpp.
#define yylex_init_extra yyxmllex_init_extra |
Definition at line 136 of file xml_lex.yy.cpp.
#define yylineno yyxmllineno |
Definition at line 26 of file xml_lex.yy.cpp.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 814 of file xml_lex.yy.cpp.
#define yynoreturn |
Definition at line 363 of file xml_lex.yy.cpp.
#define yyout yyxmlout |
Definition at line 27 of file xml_lex.yy.cpp.
#define yypop_buffer_state yyxmlpop_buffer_state |
Definition at line 20 of file xml_lex.yy.cpp.
#define yypush_buffer_state yyxmlpush_buffer_state |
Definition at line 19 of file xml_lex.yy.cpp.
#define yyrealloc yyxmlrealloc |
Definition at line 32 of file xml_lex.yy.cpp.
#define yyrestart yyxmlrestart |
Definition at line 28 of file xml_lex.yy.cpp.
#define yyset_debug yyxmlset_debug |
Definition at line 154 of file xml_lex.yy.cpp.
#define yyset_extra yyxmlset_extra |
Definition at line 166 of file xml_lex.yy.cpp.
#define yyset_in yyxmlset_in |
Definition at line 178 of file xml_lex.yy.cpp.
#define yyset_lineno yyxmlset_lineno |
Definition at line 214 of file xml_lex.yy.cpp.
#define yyset_out yyxmlset_out |
Definition at line 190 of file xml_lex.yy.cpp.
#define YYSTATE YY_START |
Definition at line 384 of file xml_lex.yy.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 2218 of file xml_lex.yy.cpp.
#define yyterminate | ( | ) | return YY_NULL |
Definition at line 1008 of file xml_lex.yy.cpp.
#define yytext yyxmltext |
Definition at line 29 of file xml_lex.yy.cpp.
#define yytext_ptr yytext |
Definition at line 599 of file xml_lex.yy.cpp.
#define yywrap yyxmlwrap |
Definition at line 30 of file xml_lex.yy.cpp.
#define yyxml_create_buffer_ALREADY_DEFINED |
Definition at line 44 of file xml_lex.yy.cpp.
#define yyxml_delete_buffer_ALREADY_DEFINED |
Definition at line 50 of file xml_lex.yy.cpp.
#define yyxml_flex_debug_ALREADY_DEFINED |
Definition at line 266 of file xml_lex.yy.cpp.
#define yyxml_flush_buffer_ALREADY_DEFINED |
Definition at line 80 of file xml_lex.yy.cpp.
#define yyxml_init_buffer_ALREADY_DEFINED |
Definition at line 74 of file xml_lex.yy.cpp.
#define yyxml_load_buffer_state_ALREADY_DEFINED |
Definition at line 86 of file xml_lex.yy.cpp.
#define yyxml_scan_buffer_ALREADY_DEFINED |
Definition at line 56 of file xml_lex.yy.cpp.
#define yyxml_scan_bytes_ALREADY_DEFINED |
Definition at line 68 of file xml_lex.yy.cpp.
#define yyxml_scan_string_ALREADY_DEFINED |
Definition at line 62 of file xml_lex.yy.cpp.
#define yyxml_switch_to_buffer_ALREADY_DEFINED |
Definition at line 92 of file xml_lex.yy.cpp.
#define yyxmlalloc_ALREADY_DEFINED |
Definition at line 224 of file xml_lex.yy.cpp.
#define yyxmlensure_buffer_stack_ALREADY_DEFINED |
Definition at line 110 of file xml_lex.yy.cpp.
#define yyxmlfree_ALREADY_DEFINED |
Definition at line 236 of file xml_lex.yy.cpp.
#define yyxmlin_ALREADY_DEFINED |
Definition at line 254 of file xml_lex.yy.cpp.
#define yyxmlleng_ALREADY_DEFINED |
Definition at line 248 of file xml_lex.yy.cpp.
#define yyxmllex_ALREADY_DEFINED |
Definition at line 116 of file xml_lex.yy.cpp.
#define yyxmllineno_ALREADY_DEFINED |
Definition at line 272 of file xml_lex.yy.cpp.
#define yyxmlout_ALREADY_DEFINED |
Definition at line 260 of file xml_lex.yy.cpp.
#define yyxmlpop_buffer_state_ALREADY_DEFINED |
Definition at line 104 of file xml_lex.yy.cpp.
#define yyxmlpush_buffer_state_ALREADY_DEFINED |
Definition at line 98 of file xml_lex.yy.cpp.
#define yyxmlrealloc_ALREADY_DEFINED |
Definition at line 230 of file xml_lex.yy.cpp.
#define yyxmlrestart_ALREADY_DEFINED |
Definition at line 122 of file xml_lex.yy.cpp.
#define yyxmltext_ALREADY_DEFINED |
Definition at line 242 of file xml_lex.yy.cpp.
#define yyxmlwrap_ALREADY_DEFINED |
Definition at line 218 of file xml_lex.yy.cpp.
typedef short int flex_int16_t |
Definition at line 311 of file xml_lex.yy.cpp.
typedef int flex_int32_t |
Definition at line 312 of file xml_lex.yy.cpp.
typedef signed char flex_int8_t |
Definition at line 310 of file xml_lex.yy.cpp.
typedef unsigned short int flex_uint16_t |
Definition at line 314 of file xml_lex.yy.cpp.
typedef unsigned int flex_uint32_t |
Definition at line 315 of file xml_lex.yy.cpp.
typedef unsigned char flex_uint8_t |
Definition at line 313 of file xml_lex.yy.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 409 of file xml_lex.yy.cpp.
typedef flex_uint8_t YY_CHAR |
Definition at line 585 of file xml_lex.yy.cpp.
typedef size_t yy_size_t |
Definition at line 414 of file xml_lex.yy.cpp.
typedef int yy_state_type |
Definition at line 589 of file xml_lex.yy.cpp.
|
static |
Definition at line 841 of file xml_lex.yy.cpp.
|
static |
Definition at line 2016 of file xml_lex.yy.cpp.
|
static |
Definition at line 1392 of file xml_lex.yy.cpp.
|
static |
Definition at line 1530 of file xml_lex.yy.cpp.
|
static |
Definition at line 2119 of file xml_lex.yy.cpp.
|
static |
Definition at line 1562 of file xml_lex.yy.cpp.
YY_BUFFER_STATE yyxml_create_buffer | ( | FILE * | file, |
int | size | ||
) |
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 . |
Definition at line 1730 of file xml_lex.yy.cpp.
void yyxml_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
b | a buffer created with yy_create_buffer() |
Definition at line 1758 of file xml_lex.yy.cpp.
void yyxml_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
Discard all buffered characters.
On the next scan, YY_INPUT will be called.
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . |
Definition at line 1805 of file xml_lex.yy.cpp.
|
static |
Definition at line 1777 of file xml_lex.yy.cpp.
|
static |
Definition at line 1716 of file xml_lex.yy.cpp.
YY_BUFFER_STATE yyxml_scan_buffer | ( | char * | base, |
yy_size_t | size | ||
) |
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 |
Definition at line 1932 of file xml_lex.yy.cpp.
YY_BUFFER_STATE yyxml_scan_bytes | ( | const char * | yybytes, |
int | _yybytes_len | ||
) |
Setup the input buffer state to scan the given bytes.
The next call to yylex() 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. |
Definition at line 1982 of file xml_lex.yy.cpp.
YY_BUFFER_STATE yyxml_scan_string | ( | const char * | yystr | ) |
Setup the input buffer state to scan a string.
The next call to yylex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
Definition at line 1969 of file xml_lex.yy.cpp.
void yyxml_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
Definition at line 1685 of file xml_lex.yy.cpp.
void * yyxmlalloc | ( | yy_size_t | size | ) |
Definition at line 2194 of file xml_lex.yy.cpp.
|
static |
Definition at line 1883 of file xml_lex.yy.cpp.
void yyxmlfree | ( | void * | ptr | ) |
Definition at line 2212 of file xml_lex.yy.cpp.
int yyxmlget_debug | ( | void | ) |
Definition at line 2109 of file xml_lex.yy.cpp.
void* yyxmlget_extra | ( | void | ) |
FILE * yyxmlget_in | ( | void | ) |
Get the input stream.
Definition at line 2053 of file xml_lex.yy.cpp.
int yyxmlget_leng | ( | void | ) |
Get the length of the current token.
Definition at line 2069 of file xml_lex.yy.cpp.
int yyxmlget_lineno | ( | void | ) |
Get the current line number.
Definition at line 2044 of file xml_lex.yy.cpp.
FILE * yyxmlget_out | ( | void | ) |
Get the output stream.
Definition at line 2061 of file xml_lex.yy.cpp.
char * yyxmlget_text | ( | void | ) |
Get the current token.
Definition at line 2078 of file xml_lex.yy.cpp.
int yyxmllex | ( | void | ) |
The main scanner function which does all the work.
Definition at line 1050 of file xml_lex.yy.cpp.
int yyxmllex_destroy | ( | void | ) |
Definition at line 2148 of file xml_lex.yy.cpp.
void yyxmlpop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
Definition at line 1864 of file xml_lex.yy.cpp.
void yyxmlpush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
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. |
Definition at line 1834 of file xml_lex.yy.cpp.
void * yyxmlrealloc | ( | void * | ptr, |
yy_size_t | size | ||
) |
Definition at line 2199 of file xml_lex.yy.cpp.
void yyxmlrestart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. Definition at line 1668 of file xml_lex.yy.cpp.
void yyxmlset_debug | ( | int | debug_flag | ) |
Definition at line 2114 of file xml_lex.yy.cpp.
void yyxmlset_extra | ( | void * | user_defined | ) |
void yyxmlset_in | ( | FILE * | _in_str | ) |
Set the input stream.
This does not discard the current input buffer.
_in_str | A readable stream. |
Definition at line 2099 of file xml_lex.yy.cpp.
void yyxmlset_lineno | ( | int | _line_number | ) |
Set the current line number.
_line_number | line number |
Definition at line 2087 of file xml_lex.yy.cpp.
void yyxmlset_out | ( | FILE * | _out_str | ) |
Definition at line 2104 of file xml_lex.yy.cpp.
int yyxmlwrap | ( | void | ) |
Definition at line 2222 of file xml_lex.yy.cpp.
|
static |
Definition at line 623 of file xml_lex.yy.cpp.
|
static |
Definition at line 679 of file xml_lex.yy.cpp.
|
static |
Stack as an array.
Definition at line 511 of file xml_lex.yy.cpp.
|
static |
capacity of stack.
Definition at line 510 of file xml_lex.yy.cpp.
|
static |
index of top of stack.
Definition at line 509 of file xml_lex.yy.cpp.
|
static |
Definition at line 533 of file xml_lex.yy.cpp.
|
static |
Definition at line 759 of file xml_lex.yy.cpp.
|
static |
Definition at line 697 of file xml_lex.yy.cpp.
|
static |
Definition at line 540 of file xml_lex.yy.cpp.
|
static |
Definition at line 639 of file xml_lex.yy.cpp.
|
static |
Definition at line 528 of file xml_lex.yy.cpp.
|
static |
Definition at line 534 of file xml_lex.yy.cpp.
|
static |
Definition at line 804 of file xml_lex.yy.cpp.
|
static |
Definition at line 803 of file xml_lex.yy.cpp.
|
static |
Definition at line 671 of file xml_lex.yy.cpp.
|
static |
Definition at line 529 of file xml_lex.yy.cpp.
|
static |
Definition at line 715 of file xml_lex.yy.cpp.
|
static |
Definition at line 535 of file xml_lex.yy.cpp.
int yyxml_flex_debug = 0 |
Definition at line 807 of file xml_lex.yy.cpp.
FILE * yyxmlin = NULL |
Definition at line 587 of file xml_lex.yy.cpp.
int yyxmlleng |
Definition at line 530 of file xml_lex.yy.cpp.
int yyxmllineno = 1 |
Definition at line 592 of file xml_lex.yy.cpp.
FILE * yyxmlout = NULL |
Definition at line 419 of file xml_lex.yy.cpp.
char * yyxmltext |
Definition at line 816 of file xml_lex.yy.cpp.