#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <assert.h>
#include <ctype.h>
#include "declinfo.h"
#include "util.h"
#include "message.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 declinfo.cpp.
#define declinfoYYwrap | ( | n | ) | 1 |
Definition at line 354 of file declinfo.cpp.
#define ECHO do { if (fwrite( declinfoYYtext, declinfoYYleng, 1, declinfoYYout )) {} } while (0) |
Definition at line 830 of file declinfo.cpp.
#define EndTemplate 6 |
Definition at line 742 of file declinfo.cpp.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 179 of file declinfo.cpp.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 180 of file declinfo.cpp.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 181 of file declinfo.cpp.
#define FLEX_BETA |
Definition at line 33 of file declinfo.cpp.
#define FLEX_SCANNER |
Definition at line 28 of file declinfo.cpp.
#define FLEXINT_H |
Definition at line 49 of file declinfo.cpp.
#define FuncPtr 5 |
Definition at line 741 of file declinfo.cpp.
#define INITIAL 0 |
Definition at line 736 of file declinfo.cpp.
#define INT16_MAX (32767) |
Definition at line 92 of file declinfo.cpp.
#define INT16_MIN (-32767-1) |
Definition at line 83 of file declinfo.cpp.
#define INT32_MAX (2147483647) |
Definition at line 95 of file declinfo.cpp.
#define INT32_MIN (-2147483647-1) |
Definition at line 86 of file declinfo.cpp.
#define INT8_MAX (127) |
Definition at line 89 of file declinfo.cpp.
#define INT8_MIN (-128) |
Definition at line 80 of file declinfo.cpp.
#define Operator 4 |
Definition at line 740 of file declinfo.cpp.
#define ReadArgs 3 |
Definition at line 739 of file declinfo.cpp.
#define ReadExceptions 9 |
Definition at line 745 of file declinfo.cpp.
#define REJECT |
Definition at line 612 of file declinfo.cpp.
#define SkipSharp 8 |
Definition at line 744 of file declinfo.cpp.
#define Start 1 |
Definition at line 737 of file declinfo.cpp.
#define StripTempArgs 7 |
Definition at line 743 of file declinfo.cpp.
#define Template 2 |
Definition at line 738 of file declinfo.cpp.
#define UINT16_MAX (65535U) |
Definition at line 101 of file declinfo.cpp.
#define UINT32_MAX (4294967295U) |
Definition at line 104 of file declinfo.cpp.
#define UINT8_MAX (255U) |
Definition at line 98 of file declinfo.cpp.
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 199 of file declinfo.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 350 of file declinfo.cpp.
#define YY_BREAK break; |
Definition at line 909 of file declinfo.cpp.
#define YY_BUF_SIZE 16384 |
Definition at line 163 of file declinfo.cpp.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 266 of file declinfo.cpp.
#define YY_BUFFER_NEW 0 |
Definition at line 254 of file declinfo.cpp.
#define YY_BUFFER_NORMAL 1 |
Definition at line 255 of file declinfo.cpp.
#define yy_create_buffer declinfoYY_create_buffer |
Definition at line 9 of file declinfo.cpp.
#define YY_CURRENT_BUFFER |
Definition at line 282 of file declinfo.cpp.
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 289 of file declinfo.cpp.
#define YY_DECL int declinfoYYlex (void) |
Definition at line 897 of file declinfo.cpp.
#define YY_DECL_IS_OURS 1 |
Definition at line 893 of file declinfo.cpp.
#define yy_delete_buffer declinfoYY_delete_buffer |
Definition at line 10 of file declinfo.cpp.
#define YY_DO_BEFORE_ACTION |
Definition at line 378 of file declinfo.cpp.
#define YY_END_OF_BUFFER 27 |
Definition at line 386 of file declinfo.cpp.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 159 of file declinfo.cpp.
#define YY_EXIT_FAILURE 2 |
Definition at line 1994 of file declinfo.cpp.
#define YY_EXTRA_TYPE void * |
Definition at line 756 of file declinfo.cpp.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 884 of file declinfo.cpp.
#define yy_flex_debug declinfoYY_flex_debug |
Definition at line 11 of file declinfo.cpp.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 29 of file declinfo.cpp.
#define YY_FLEX_MINOR_VERSION 5 |
Definition at line 30 of file declinfo.cpp.
#define YY_FLEX_SUBMINOR_VERSION 35 |
Definition at line 31 of file declinfo.cpp.
#define yy_flush_buffer declinfoYY_flush_buffer |
Definition at line 13 of file declinfo.cpp.
#define YY_FLUSH_BUFFER declinfoYY_flush_buffer(YY_CURRENT_BUFFER ) |
Definition at line 318 of file declinfo.cpp.
#define yy_init_buffer declinfoYY_init_buffer |
Definition at line 12 of file declinfo.cpp.
Definition at line 712 of file declinfo.cpp.
#define YY_INT_ALIGNED short int |
Definition at line 5 of file declinfo.cpp.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 183 of file declinfo.cpp.
#define yy_load_buffer_state declinfoYY_load_buffer_state |
Definition at line 14 of file declinfo.cpp.
#define YY_MORE_ADJ 0 |
Definition at line 624 of file declinfo.cpp.
#define YY_NEVER_INTERACTIVE 1 |
Definition at line 707 of file declinfo.cpp.
#define yy_new_buffer declinfoYY_create_buffer |
Definition at line 328 of file declinfo.cpp.
#define YY_NEW_FILE declinfoYYrestart(declinfoYYin ) |
Definition at line 157 of file declinfo.cpp.
#define YY_NO_INPUT 1 |
Definition at line 658 of file declinfo.cpp.
#define YY_NO_UNISTD_H 1 |
Definition at line 659 of file declinfo.cpp.
#define YY_NULL 0 |
Definition at line 131 of file declinfo.cpp.
#define YY_NUM_RULES 26 |
Definition at line 385 of file declinfo.cpp.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 822 of file declinfo.cpp.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 625 of file declinfo.cpp.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 912 of file declinfo.cpp.
#define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 138 of file declinfo.cpp.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 340 of file declinfo.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 330 of file declinfo.cpp.
#define YY_SKIP_YYWRAP |
Definition at line 355 of file declinfo.cpp.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 150 of file declinfo.cpp.
#define YY_START_STACK_INCR 25 |
Definition at line 879 of file declinfo.cpp.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 168 of file declinfo.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 154 of file declinfo.cpp.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 207 of file declinfo.cpp.
#define yy_switch_to_buffer declinfoYY_switch_to_buffer |
Definition at line 15 of file declinfo.cpp.
#define YY_TRAILING_HEAD_MASK 0x4000 |
Definition at line 611 of file declinfo.cpp.
#define YY_TRAILING_MASK 0x2000 |
Definition at line 610 of file declinfo.cpp.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 171 of file declinfo.cpp.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 202 of file declinfo.cpp.
#define YY_USER_ACTION |
Definition at line 904 of file declinfo.cpp.
#define yyalloc declinfoYYalloc |
Definition at line 24 of file declinfo.cpp.
#define yyconst |
Definition at line 127 of file declinfo.cpp.
#define yyfree declinfoYYfree |
Definition at line 26 of file declinfo.cpp.
#define yyin declinfoYYin |
Definition at line 16 of file declinfo.cpp.
#define yyleng declinfoYYleng |
Definition at line 17 of file declinfo.cpp.
#define yyless | ( | n | ) |
Definition at line 2006 of file declinfo.cpp.
#define yyless | ( | n | ) |
Definition at line 2006 of file declinfo.cpp.
#define yylex declinfoYYlex |
Definition at line 18 of file declinfo.cpp.
#define yylineno declinfoYYlineno |
Definition at line 19 of file declinfo.cpp.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 623 of file declinfo.cpp.
#define yyout declinfoYYout |
Definition at line 20 of file declinfo.cpp.
#define yyrealloc declinfoYYrealloc |
Definition at line 25 of file declinfo.cpp.
#define yyrestart declinfoYYrestart |
Definition at line 21 of file declinfo.cpp.
#define YYSTATE YY_START |
Definition at line 151 of file declinfo.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 2204 of file declinfo.cpp.
Definition at line 874 of file declinfo.cpp.
#define yytext declinfoYYtext |
Definition at line 22 of file declinfo.cpp.
#define yytext_ptr declinfoYYtext |
Definition at line 368 of file declinfo.cpp.
#define yywrap declinfoYYwrap |
Definition at line 23 of file declinfo.cpp.
typedef short int flex_int16_t |
Definition at line 71 of file declinfo.cpp.
typedef int flex_int32_t |
Definition at line 72 of file declinfo.cpp.
typedef signed char flex_int8_t |
Definition at line 70 of file declinfo.cpp.
typedef unsigned short int flex_uint16_t |
Definition at line 74 of file declinfo.cpp.
typedef unsigned int flex_uint32_t |
Definition at line 75 of file declinfo.cpp.
typedef unsigned char flex_uint8_t |
Definition at line 73 of file declinfo.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 172 of file declinfo.cpp.
typedef unsigned char YY_CHAR |
Definition at line 357 of file declinfo.cpp.
typedef size_t yy_size_t |
Definition at line 203 of file declinfo.cpp.
typedef int yy_state_type |
Definition at line 361 of file declinfo.cpp.
|
static |
Definition at line 681 of file declinfo.cpp.
|
static |
Definition at line 693 of file declinfo.cpp.
YY_BUFFER_STATE declinfoYY_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 1711 of file declinfo.cpp.
void declinfoYY_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
b | a buffer created with declinfoYY_create_buffer() |
Definition at line 1739 of file declinfo.cpp.
void declinfoYY_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 1786 of file declinfo.cpp.
|
static |
Definition at line 1758 of file declinfo.cpp.
|
static |
Definition at line 1697 of file declinfo.cpp.
YY_BUFFER_STATE declinfoYY_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 1913 of file declinfo.cpp.
YY_BUFFER_STATE declinfoYY_scan_bytes | ( | yyconst char * | yybytes, |
int | _yybytes_len | ||
) |
Setup the input buffer state to scan the given bytes. The next call to declinfoYYlex() 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 1963 of file declinfo.cpp.
YY_BUFFER_STATE declinfoYY_scan_string | ( | yyconst char * | yystr | ) |
Setup the input buffer state to scan a string. The next call to declinfoYYlex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
Definition at line 1950 of file declinfo.cpp.
void declinfoYY_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
Definition at line 1666 of file declinfo.cpp.
void * declinfoYYalloc | ( | yy_size_t | size | ) |
Definition at line 2182 of file declinfo.cpp.
|
static |
Definition at line 1864 of file declinfo.cpp.
void declinfoYYfree | ( | void * | ptr | ) |
Definition at line 2199 of file declinfo.cpp.
int declinfoYYget_debug | ( | void | ) |
Definition at line 2090 of file declinfo.cpp.
YY_EXTRA_TYPE declinfoYYget_extra | ( | void | ) |
FILE * declinfoYYget_in | ( | void | ) |
Get the input stream.
Definition at line 2034 of file declinfo.cpp.
int declinfoYYget_leng | ( | void | ) |
int declinfoYYget_lineno | ( | void | ) |
FILE * declinfoYYget_out | ( | void | ) |
char * declinfoYYget_text | ( | void | ) |
int declinfoYYlex | ( | void | ) |
int declinfoYYlex_destroy | ( | void | ) |
Definition at line 2134 of file declinfo.cpp.
void declinfoYYpop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present. The next element becomes the new top.
Definition at line 1845 of file declinfo.cpp.
void declinfoYYpush_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 1815 of file declinfo.cpp.
void * declinfoYYrealloc | ( | void * | ptr, |
yy_size_t | size | ||
) |
Definition at line 2187 of file declinfo.cpp.
void declinfoYYrestart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. Definition at line 1649 of file declinfo.cpp.
void declinfoYYset_debug | ( | int | debug_flag | ) |
Definition at line 2095 of file declinfo.cpp.
void declinfoYYset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
void declinfoYYset_in | ( | FILE * | in_str | ) |
Set the input stream. This does not discard the current input buffer.
in_str | A readable stream. |
Definition at line 2080 of file declinfo.cpp.
void declinfoYYset_lineno | ( | int | line_number | ) |
void declinfoYYset_out | ( | FILE * | out_str | ) |
Definition at line 2085 of file declinfo.cpp.
if | ( | ! | yy_init | ) |
Definition at line 928 of file declinfo.cpp.
void parseFuncDecl | ( | const QCString & | decl, |
bool | objC, | ||
QCString & | cl, | ||
QCString & | t, | ||
QCString & | n, | ||
QCString & | a, | ||
QCString & | ftl, | ||
QCString & | exc | ||
) |
Definition at line 2213 of file declinfo.cpp.
while | ( | 1 | ) |
Definition at line 960 of file declinfo.cpp.
|
static |
|
static |
Definition at line 1997 of file declinfo.cpp.
|
static |
Definition at line 1415 of file declinfo.cpp.
|
static |
Definition at line 1520 of file declinfo.cpp.
|
static |
Definition at line 2100 of file declinfo.cpp.
|
static |
Definition at line 1551 of file declinfo.cpp.
|
static |
Definition at line 714 of file declinfo.cpp.
|
static |
Definition at line 674 of file declinfo.cpp.
|
static |
Definition at line 669 of file declinfo.cpp.
|
static |
Definition at line 670 of file declinfo.cpp.
|
static |
Definition at line 676 of file declinfo.cpp.
int declinfoYY_flex_debug = 0 |
Definition at line 602 of file declinfo.cpp.
FILE * declinfoYYin = (FILE *) 0 |
Definition at line 359 of file declinfo.cpp.
int declinfoYYleng |
Definition at line 294 of file declinfo.cpp.
int declinfoYYlineno = 1 |
Definition at line 365 of file declinfo.cpp.
FILE * declinfoYYout = (FILE *) 0 |
Definition at line 359 of file declinfo.cpp.
char * declinfoYYtext |
Definition at line 626 of file declinfo.cpp.
|
static |
Definition at line 678 of file declinfo.cpp.
|
static |
Definition at line 671 of file declinfo.cpp.
|
static |
Definition at line 677 of file declinfo.cpp.
|
static |
Definition at line 667 of file declinfo.cpp.
|
static |
Definition at line 666 of file declinfo.cpp.
|
static |
Definition at line 679 of file declinfo.cpp.
|
static |
Definition at line 673 of file declinfo.cpp.
|
static |
Definition at line 668 of file declinfo.cpp.
|
static |
Definition at line 675 of file declinfo.cpp.
Definition at line 672 of file declinfo.cpp.
|
static |
Definition at line 411 of file declinfo.cpp.
|
static |
Definition at line 394 of file declinfo.cpp.
register int yy_act |
Definition at line 921 of file declinfo.cpp.
|
static |
Definition at line 469 of file declinfo.cpp.
register char * yy_bp |
Definition at line 920 of file declinfo.cpp.
|
static |
Stack as an array.
Definition at line 274 of file declinfo.cpp.
|
static |
capacity of stack.
Definition at line 273 of file declinfo.cpp.
|
static |
index of top of stack.
Definition at line 272 of file declinfo.cpp.
|
static |
Definition at line 297 of file declinfo.cpp.
|
static |
Definition at line 556 of file declinfo.cpp.
register char* yy_cp |
Definition at line 920 of file declinfo.cpp.
YY_DECL |
The main scanner function which does all the work.
Definition at line 918 of file declinfo.cpp.
|
static |
Definition at line 490 of file declinfo.cpp.
|
static |
Definition at line 304 of file declinfo.cpp.
|
static |
Definition at line 430 of file declinfo.cpp.
|
static |
Definition at line 608 of file declinfo.cpp.
|
static |
Definition at line 605 of file declinfo.cpp.
|
static |
Definition at line 609 of file declinfo.cpp.
|
static |
Definition at line 292 of file declinfo.cpp.
|
static |
Definition at line 298 of file declinfo.cpp.
|
static |
Definition at line 607 of file declinfo.cpp.
|
static |
Definition at line 606 of file declinfo.cpp.
|
static |
Definition at line 462 of file declinfo.cpp.
|
static |
Definition at line 293 of file declinfo.cpp.
|
static |
Definition at line 511 of file declinfo.cpp.
|
static |
Definition at line 299 of file declinfo.cpp.
|
static |
Definition at line 604 of file declinfo.cpp.
|
static |
Definition at line 604 of file declinfo.cpp.