#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "xmlcode.h"
#include "entry.h"
#include "doxygen.h"
#include "outputlist.h"
#include "util.h"
#include "membername.h"
#include "searchindex.h"
#include "config.h"
#include "filedef.h"
#include "tooltip.h"
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 unsigned char | YY_CHAR |
typedef int | yy_state_type |
#define BEGIN (yy_start) = 1 + 2 * |
Definition at line 144 of file xmlcode.cpp.
#define ECHO do { if (fwrite( xmlcodeYYtext, xmlcodeYYleng, 1, xmlcodeYYout )) {} } while (0) |
Definition at line 823 of file xmlcode.cpp.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 179 of file xmlcode.cpp.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 180 of file xmlcode.cpp.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 181 of file xmlcode.cpp.
#define FLEX_BETA |
Definition at line 33 of file xmlcode.cpp.
#define FLEX_SCANNER |
Definition at line 28 of file xmlcode.cpp.
#define FLEXINT_H |
Definition at line 49 of file xmlcode.cpp.
#define INITIAL 0 |
Definition at line 738 of file xmlcode.cpp.
#define INT16_MAX (32767) |
Definition at line 92 of file xmlcode.cpp.
#define INT16_MIN (-32767-1) |
Definition at line 83 of file xmlcode.cpp.
#define INT32_MAX (2147483647) |
Definition at line 95 of file xmlcode.cpp.
#define INT32_MIN (-2147483647-1) |
Definition at line 86 of file xmlcode.cpp.
#define INT8_MAX (127) |
Definition at line 89 of file xmlcode.cpp.
#define INT8_MIN (-128) |
Definition at line 80 of file xmlcode.cpp.
#define REJECT reject_used_but_not_detected |
Definition at line 504 of file xmlcode.cpp.
#define UINT16_MAX (65535U) |
Definition at line 101 of file xmlcode.cpp.
#define UINT32_MAX (4294967295U) |
Definition at line 104 of file xmlcode.cpp.
#define UINT8_MAX (255U) |
Definition at line 98 of file xmlcode.cpp.
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 199 of file xmlcode.cpp.
#define xmlcodeYYwrap | ( | n | ) | 1 |
Definition at line 354 of file xmlcode.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 350 of file xmlcode.cpp.
#define YY_BREAK break; |
Definition at line 902 of file xmlcode.cpp.
#define YY_BUF_SIZE 16384 |
Definition at line 163 of file xmlcode.cpp.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 266 of file xmlcode.cpp.
#define YY_BUFFER_NEW 0 |
Definition at line 254 of file xmlcode.cpp.
#define YY_BUFFER_NORMAL 1 |
Definition at line 255 of file xmlcode.cpp.
#define yy_create_buffer xmlcodeYY_create_buffer |
Definition at line 9 of file xmlcode.cpp.
#define YY_CURRENT_BUFFER |
Definition at line 282 of file xmlcode.cpp.
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 289 of file xmlcode.cpp.
#define YY_DECL int xmlcodeYYlex (void) |
Definition at line 890 of file xmlcode.cpp.
#define YY_DECL_IS_OURS 1 |
Definition at line 886 of file xmlcode.cpp.
#define yy_delete_buffer xmlcodeYY_delete_buffer |
Definition at line 10 of file xmlcode.cpp.
#define YY_DO_BEFORE_ACTION |
Definition at line 378 of file xmlcode.cpp.
#define YY_END_OF_BUFFER 13 |
Definition at line 386 of file xmlcode.cpp.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 159 of file xmlcode.cpp.
#define YY_EXIT_FAILURE 2 |
Definition at line 1873 of file xmlcode.cpp.
#define YY_EXTRA_TYPE void * |
Definition at line 749 of file xmlcode.cpp.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 877 of file xmlcode.cpp.
#define yy_flex_debug xmlcodeYY_flex_debug |
Definition at line 11 of file xmlcode.cpp.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 29 of file xmlcode.cpp.
#define YY_FLEX_MINOR_VERSION 5 |
Definition at line 30 of file xmlcode.cpp.
#define YY_FLEX_SUBMINOR_VERSION 35 |
Definition at line 31 of file xmlcode.cpp.
#define yy_flush_buffer xmlcodeYY_flush_buffer |
Definition at line 13 of file xmlcode.cpp.
#define YY_FLUSH_BUFFER xmlcodeYY_flush_buffer(YY_CURRENT_BUFFER ) |
Definition at line 318 of file xmlcode.cpp.
#define yy_init_buffer xmlcodeYY_init_buffer |
Definition at line 12 of file xmlcode.cpp.
Definition at line 723 of file xmlcode.cpp.
#define YY_INT_ALIGNED short int |
Definition at line 5 of file xmlcode.cpp.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 183 of file xmlcode.cpp.
#define yy_load_buffer_state xmlcodeYY_load_buffer_state |
Definition at line 14 of file xmlcode.cpp.
#define YY_MORE_ADJ 0 |
Definition at line 506 of file xmlcode.cpp.
#define YY_NEVER_INTERACTIVE 1 |
Definition at line 544 of file xmlcode.cpp.
#define yy_new_buffer xmlcodeYY_create_buffer |
Definition at line 328 of file xmlcode.cpp.
#define YY_NEW_FILE xmlcodeYYrestart(xmlcodeYYin ) |
Definition at line 157 of file xmlcode.cpp.
#define YY_NO_INPUT 1 |
Definition at line 545 of file xmlcode.cpp.
#define YY_NO_UNISTD_H 1 |
Definition at line 546 of file xmlcode.cpp.
#define YY_NULL 0 |
Definition at line 131 of file xmlcode.cpp.
#define YY_NUM_RULES 12 |
Definition at line 385 of file xmlcode.cpp.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 815 of file xmlcode.cpp.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 507 of file xmlcode.cpp.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 905 of file xmlcode.cpp.
#define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 138 of file xmlcode.cpp.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 340 of file xmlcode.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 330 of file xmlcode.cpp.
#define YY_SKIP_YYWRAP |
Definition at line 355 of file xmlcode.cpp.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 150 of file xmlcode.cpp.
#define YY_START_STACK_INCR 25 |
Definition at line 872 of file xmlcode.cpp.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 168 of file xmlcode.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 154 of file xmlcode.cpp.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 207 of file xmlcode.cpp.
#define yy_switch_to_buffer xmlcodeYY_switch_to_buffer |
Definition at line 15 of file xmlcode.cpp.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 171 of file xmlcode.cpp.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 202 of file xmlcode.cpp.
#define YY_USER_ACTION |
Definition at line 897 of file xmlcode.cpp.
#define yyalloc xmlcodeYYalloc |
Definition at line 24 of file xmlcode.cpp.
#define yyconst |
Definition at line 127 of file xmlcode.cpp.
#define yyfree xmlcodeYYfree |
Definition at line 26 of file xmlcode.cpp.
#define yyin xmlcodeYYin |
Definition at line 16 of file xmlcode.cpp.
#define yyleng xmlcodeYYleng |
Definition at line 17 of file xmlcode.cpp.
#define yyless | ( | n | ) |
Definition at line 1885 of file xmlcode.cpp.
#define yyless | ( | n | ) |
Definition at line 1885 of file xmlcode.cpp.
#define yylex xmlcodeYYlex |
Definition at line 18 of file xmlcode.cpp.
#define yylineno xmlcodeYYlineno |
Definition at line 19 of file xmlcode.cpp.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 505 of file xmlcode.cpp.
#define yyout xmlcodeYYout |
Definition at line 20 of file xmlcode.cpp.
#define yyrealloc xmlcodeYYrealloc |
Definition at line 25 of file xmlcode.cpp.
#define yyrestart xmlcodeYYrestart |
Definition at line 21 of file xmlcode.cpp.
#define YYSTATE YY_START |
Definition at line 151 of file xmlcode.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 2075 of file xmlcode.cpp.
Definition at line 867 of file xmlcode.cpp.
#define yytext xmlcodeYYtext |
Definition at line 22 of file xmlcode.cpp.
#define yytext_ptr xmlcodeYYtext |
Definition at line 368 of file xmlcode.cpp.
#define yywrap xmlcodeYYwrap |
Definition at line 23 of file xmlcode.cpp.
typedef short int flex_int16_t |
Definition at line 71 of file xmlcode.cpp.
typedef int flex_int32_t |
Definition at line 72 of file xmlcode.cpp.
typedef signed char flex_int8_t |
Definition at line 70 of file xmlcode.cpp.
typedef unsigned short int flex_uint16_t |
Definition at line 74 of file xmlcode.cpp.
typedef unsigned int flex_uint32_t |
Definition at line 75 of file xmlcode.cpp.
typedef unsigned char flex_uint8_t |
Definition at line 73 of file xmlcode.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 172 of file xmlcode.cpp.
typedef unsigned char YY_CHAR |
Definition at line 357 of file xmlcode.cpp.
typedef size_t yy_size_t |
Definition at line 203 of file xmlcode.cpp.
typedef int yy_state_type |
Definition at line 361 of file xmlcode.cpp.
|
static |
Definition at line 575 of file xmlcode.cpp.
|
static |
Definition at line 668 of file xmlcode.cpp.
|
static |
|
static |
Definition at line 651 of file xmlcode.cpp.
|
static |
Definition at line 642 of file xmlcode.cpp.
if | ( | ! | yy_init | ) |
Definition at line 921 of file xmlcode.cpp.
|
static |
Definition at line 657 of file xmlcode.cpp.
void parseXmlCode | ( | CodeOutputInterface & | od, |
const char * | , | ||
const QCString & | s, | ||
bool | , | ||
const char * | exName, | ||
FileDef * | fd, | ||
int | startLine, | ||
int | endLine, | ||
bool | , | ||
MemberDef * | , | ||
bool | , | ||
Definition * | searchCtx, | ||
bool | |||
) |
Definition at line 2081 of file xmlcode.cpp.
void resetXmlCodeParserState | ( | ) |
Definition at line 2159 of file xmlcode.cpp.
|
static |
Definition at line 580 of file xmlcode.cpp.
|
static |
start a new line of code, inserting a line number if g_sourceFileDef is TRUE. If a definition starts at the current line, then the line number is linked to the documentation of that definition.
Definition at line 599 of file xmlcode.cpp.
|
static |
Definition at line 695 of file xmlcode.cpp.
while | ( | 1 | ) |
Definition at line 947 of file xmlcode.cpp.
YY_BUFFER_STATE xmlcodeYY_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 1590 of file xmlcode.cpp.
void xmlcodeYY_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
b | a buffer created with xmlcodeYY_create_buffer() |
Definition at line 1618 of file xmlcode.cpp.
void xmlcodeYY_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 1665 of file xmlcode.cpp.
|
static |
Definition at line 1637 of file xmlcode.cpp.
|
static |
Definition at line 1576 of file xmlcode.cpp.
YY_BUFFER_STATE xmlcodeYY_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 1792 of file xmlcode.cpp.
YY_BUFFER_STATE xmlcodeYY_scan_bytes | ( | yyconst char * | yybytes, |
int | _yybytes_len | ||
) |
Setup the input buffer state to scan the given bytes. The next call to xmlcodeYYlex() 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. |
Definition at line 1842 of file xmlcode.cpp.
YY_BUFFER_STATE xmlcodeYY_scan_string | ( | yyconst char * | yystr | ) |
Setup the input buffer state to scan a string. The next call to xmlcodeYYlex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
Definition at line 1829 of file xmlcode.cpp.
void xmlcodeYY_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
Definition at line 1545 of file xmlcode.cpp.
void * xmlcodeYYalloc | ( | yy_size_t | size | ) |
Definition at line 2053 of file xmlcode.cpp.
|
static |
Definition at line 1743 of file xmlcode.cpp.
void xmlcodeYYfree | ( | void * | ptr | ) |
Definition at line 2070 of file xmlcode.cpp.
int xmlcodeYYget_debug | ( | void | ) |
Definition at line 1969 of file xmlcode.cpp.
YY_EXTRA_TYPE xmlcodeYYget_extra | ( | void | ) |
FILE * xmlcodeYYget_in | ( | void | ) |
Get the input stream.
Definition at line 1913 of file xmlcode.cpp.
int xmlcodeYYget_leng | ( | void | ) |
Get the length of the current token.
Definition at line 1929 of file xmlcode.cpp.
int xmlcodeYYget_lineno | ( | void | ) |
FILE * xmlcodeYYget_out | ( | void | ) |
Get the output stream.
Definition at line 1921 of file xmlcode.cpp.
char * xmlcodeYYget_text | ( | void | ) |
int xmlcodeYYlex | ( | void | ) |
int xmlcodeYYlex_destroy | ( | void | ) |
Definition at line 2008 of file xmlcode.cpp.
void xmlcodeYYpop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present. The next element becomes the new top.
Definition at line 1724 of file xmlcode.cpp.
void xmlcodeYYpush_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 1694 of file xmlcode.cpp.
void * xmlcodeYYrealloc | ( | void * | ptr, |
yy_size_t | size | ||
) |
Definition at line 2058 of file xmlcode.cpp.
void xmlcodeYYrestart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. Definition at line 1528 of file xmlcode.cpp.
void xmlcodeYYset_debug | ( | int | debug_flag | ) |
Definition at line 1974 of file xmlcode.cpp.
void xmlcodeYYset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
void xmlcodeYYset_in | ( | FILE * | in_str | ) |
Set the input stream. This does not discard the current input buffer.
in_str | A readable stream. |
Definition at line 1959 of file xmlcode.cpp.
void xmlcodeYYset_lineno | ( | int | line_number | ) |
void xmlcodeYYset_out | ( | FILE * | out_str | ) |
Definition at line 1964 of file xmlcode.cpp.
|
static |
|
static |
Definition at line 1876 of file xmlcode.cpp.
|
static |
Definition at line 1260 of file xmlcode.cpp.
|
static |
Definition at line 1394 of file xmlcode.cpp.
|
static |
Definition at line 1979 of file xmlcode.cpp.
|
static |
Definition at line 1426 of file xmlcode.cpp.
|
static |
Definition at line 725 of file xmlcode.cpp.
|
static |
Definition at line 564 of file xmlcode.cpp.
|
static |
Definition at line 565 of file xmlcode.cpp.
|
static |
Definition at line 548 of file xmlcode.cpp.
|
static |
Definition at line 549 of file xmlcode.cpp.
|
static |
Definition at line 570 of file xmlcode.cpp.
|
static |
Definition at line 573 of file xmlcode.cpp.
|
static |
Definition at line 571 of file xmlcode.cpp.
|
static |
Definition at line 567 of file xmlcode.cpp.
|
static |
Definition at line 560 of file xmlcode.cpp.
|
static |
Definition at line 559 of file xmlcode.cpp.
|
static |
Definition at line 572 of file xmlcode.cpp.
|
static |
number of line in the code fragment
Definition at line 554 of file xmlcode.cpp.
|
static |
read offset during parsing
Definition at line 553 of file xmlcode.cpp.
|
static |
the code fragment as text
Definition at line 552 of file xmlcode.cpp.
|
static |
Definition at line 563 of file xmlcode.cpp.
|
static |
Definition at line 556 of file xmlcode.cpp.
|
static |
Definition at line 551 of file xmlcode.cpp.
|
static |
Definition at line 550 of file xmlcode.cpp.
|
static |
Definition at line 557 of file xmlcode.cpp.
|
static |
Definition at line 569 of file xmlcode.cpp.
|
static |
Definition at line 562 of file xmlcode.cpp.
|
static |
current line number
Definition at line 555 of file xmlcode.cpp.
int xmlcodeYY_flex_debug = 0 |
Definition at line 499 of file xmlcode.cpp.
FILE * xmlcodeYYin = (FILE *) 0 |
Definition at line 359 of file xmlcode.cpp.
int xmlcodeYYleng |
Definition at line 294 of file xmlcode.cpp.
int xmlcodeYYlineno = 1 |
Definition at line 365 of file xmlcode.cpp.
FILE * xmlcodeYYout = (FILE *) 0 |
Definition at line 359 of file xmlcode.cpp.
char * xmlcodeYYtext |
Definition at line 508 of file xmlcode.cpp.
|
static |
Definition at line 394 of file xmlcode.cpp.
register int yy_act |
Definition at line 914 of file xmlcode.cpp.
|
static |
Definition at line 441 of file xmlcode.cpp.
register char * yy_bp |
Definition at line 913 of file xmlcode.cpp.
|
static |
Stack as an array.
Definition at line 274 of file xmlcode.cpp.
|
static |
capacity of stack.
Definition at line 273 of file xmlcode.cpp.
|
static |
index of top of stack.
Definition at line 272 of file xmlcode.cpp.
|
static |
Definition at line 297 of file xmlcode.cpp.
|
static |
Definition at line 478 of file xmlcode.cpp.
register char* yy_cp |
Definition at line 913 of file xmlcode.cpp.
YY_DECL |
The main scanner function which does all the work.
Definition at line 911 of file xmlcode.cpp.
|
static |
Definition at line 451 of file xmlcode.cpp.
|
static |
Definition at line 304 of file xmlcode.cpp.
|
static |
Definition at line 403 of file xmlcode.cpp.
|
static |
Definition at line 292 of file xmlcode.cpp.
|
static |
Definition at line 298 of file xmlcode.cpp.
|
static |
Definition at line 496 of file xmlcode.cpp.
|
static |
Definition at line 495 of file xmlcode.cpp.
|
static |
Definition at line 435 of file xmlcode.cpp.
|
static |
Definition at line 293 of file xmlcode.cpp.
|
static |
Definition at line 461 of file xmlcode.cpp.
|
static |
Definition at line 299 of file xmlcode.cpp.