#include <stdio.h>#include <string.h>#include <errno.h>#include <stdlib.h>#include "constexp.h"#include "cppvalue.h"#include "ce_parse.h"#include <unistd.h>Go to the source code of this file.
Classes | |
| struct | yy_buffer_state |
| struct | yy_trans_info |
Defines | |
| #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 33 |
| #define | FLEX_BETA |
| #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 | BEGIN (yy_start) = 1 + 2 * |
| #define | YY_START (((yy_start) - 1) / 2) |
| #define | YYSTATE YY_START |
| #define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
| #define | YY_NEW_FILE cppExpYYrestart(cppExpYYin ) |
| #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 | 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, (yytext_ptr) ) |
| #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 (yy_buffer_stack)[(yy_buffer_stack_top)] |
| #define | YY_FLUSH_BUFFER cppExpYY_flush_buffer(YY_CURRENT_BUFFER ) |
| #define | yy_new_buffer cppExpYY_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 | yytext_ptr cppExpYYtext |
| #define | YY_DO_BEFORE_ACTION |
| #define | YY_NUM_RULES 33 |
| #define | YY_END_OF_BUFFER 34 |
| #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_NEVER_INTERACTIVE 1 |
| #define | YY_INPUT(buf, result, max_size) result=yyread(buf,max_size); |
| #define | INITIAL 0 |
| #define | YY_EXTRA_TYPE void * |
| #define | YY_READ_BUF_SIZE 8192 |
| #define | ECHO (void) fwrite( cppExpYYtext, cppExpYYleng, 1, cppExpYYout ) |
| #define | yyterminate() return YY_NULL |
| #define | YY_START_STACK_INCR 25 |
| #define | YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
| #define | YY_DECL_IS_OURS 1 |
| #define | YY_DECL int cppExpYYlex (void) |
| #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 yy_buffer_state * | YY_BUFFER_STATE |
| typedef unsigned int | yy_size_t |
| typedef unsigned char | YY_CHAR |
| typedef int | yy_state_type |
Functions | |
| void | cppExpYYrestart (FILE *input_file) |
| void | cppExpYY_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
| YY_BUFFER_STATE | cppExpYY_create_buffer (FILE *file, int size) |
| void | cppExpYY_delete_buffer (YY_BUFFER_STATE b) |
| void | cppExpYY_flush_buffer (YY_BUFFER_STATE b) |
| void | cppExpYYpush_buffer_state (YY_BUFFER_STATE new_buffer) |
| void | cppExpYYpop_buffer_state (void) |
| YY_BUFFER_STATE | cppExpYY_scan_buffer (char *base, yy_size_t size) |
| YY_BUFFER_STATE | cppExpYY_scan_string (yyconst char *yy_str) |
| YY_BUFFER_STATE | cppExpYY_scan_bytes (yyconst char *bytes, int len) |
| void * | cppExpYYalloc (yy_size_t) |
| void * | cppExpYYrealloc (void *, yy_size_t) |
| void | cppExpYYfree (void *) |
| int | cppExpYYwrap (void) |
| int | cppExpYYlex (void) |
| int | cppExpYYget_lineno (void) |
| FILE * | cppExpYYget_in (void) |
| FILE * | cppExpYYget_out (void) |
| int | cppExpYYget_leng (void) |
| char * | cppExpYYget_text (void) |
| void | cppExpYYset_lineno (int line_number) |
| void | cppExpYYset_in (FILE *in_str) |
| void | cppExpYYset_out (FILE *out_str) |
| int | cppExpYYget_debug (void) |
| void | cppExpYYset_debug (int bdebug) |
| int | cppExpYYlex_destroy (void) |
| bool | parseCppExpression (const char *fileName, int lineNr, const QCString &s) |
Variables | |
| int | cppExpYYleng |
| FILE * | cppExpYYin |
| FILE * | cppExpYYout |
| int | cppExpYYleng |
| FILE * | cppExpYYin = (FILE *) 0 |
| FILE * | cppExpYYout = (FILE *) 0 |
| int | cppExpYYlineno |
| int | cppExpYYlineno = 1 |
| char * | cppExpYYtext |
| int | cppExpYY_flex_debug |
| int | cppExpYY_flex_debug = 0 |
| char * | cppExpYYtext |
| QCString | g_strToken |
| CPPValue | g_resultValue |
| int | g_constExpLineNr |
| QCString | g_constExpFileName |
| #define BEGIN (yy_start) = 1 + 2 * |
Definition at line 123 of file ce_lex.cpp.
Referenced by doctokenizerYYFindSections(), doctokenizerYYinit(), doctokenizerYYpopContext(), doctokenizerYYsetStateCode(), doctokenizerYYsetStateDot(), doctokenizerYYsetStateFile(), doctokenizerYYsetStateHtmlOnly(), doctokenizerYYsetStateInternalRef(), doctokenizerYYsetStateLatexOnly(), doctokenizerYYsetStateLink(), doctokenizerYYsetStateManOnly(), doctokenizerYYsetStateMsc(), doctokenizerYYsetStatePara(), doctokenizerYYsetStateParam(), doctokenizerYYsetStatePattern(), doctokenizerYYsetStateRef(), doctokenizerYYsetStateSkipTitle(), doctokenizerYYsetStateText(), doctokenizerYYsetStateTitle(), doctokenizerYYsetStateTitleAttrValue(), doctokenizerYYsetStateVerbatim(), doctokenizerYYsetStateXmlCode(), doctokenizerYYsetStateXmlOnly(), doctokenizerYYsetStateXRefItem(), parse(), parseFortranCode(), parseFuncDecl(), VHDLLanguageScanner::parseInput(), Config::parseString(), parseVhdlCode(), preprocessFile(), and resetPythonCodeParserState().
| #define ECHO (void) fwrite( cppExpYYtext, cppExpYYleng, 1, cppExpYYout ) |
Definition at line 623 of file ce_lex.cpp.
| #define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 158 of file ce_lex.cpp.
| #define EOB_ACT_END_OF_FILE 1 |
Definition at line 159 of file ce_lex.cpp.
| #define EOB_ACT_LAST_MATCH 2 |
Definition at line 160 of file ce_lex.cpp.
| #define FLEX_BETA |
Definition at line 13 of file ce_lex.cpp.
| #define FLEX_SCANNER |
Definition at line 8 of file ce_lex.cpp.
| #define INITIAL 0 |
Definition at line 567 of file ce_lex.cpp.
| #define INT16_MAX (32767) |
Definition at line 72 of file ce_lex.cpp.
| #define INT16_MIN (-32767-1) |
Definition at line 63 of file ce_lex.cpp.
| #define INT32_MAX (2147483647) |
Definition at line 75 of file ce_lex.cpp.
| #define INT32_MIN (-2147483647-1) |
Definition at line 66 of file ce_lex.cpp.
| #define INT8_MAX (127) |
Definition at line 69 of file ce_lex.cpp.
| #define INT8_MIN (-128) |
Definition at line 60 of file ce_lex.cpp.
| #define REJECT reject_used_but_not_detected |
Definition at line 512 of file ce_lex.cpp.
| #define UINT16_MAX (65535U) |
Definition at line 81 of file ce_lex.cpp.
| #define UINT32_MAX (4294967295U) |
Definition at line 84 of file ce_lex.cpp.
| #define UINT8_MAX (255U) |
Definition at line 78 of file ce_lex.cpp.
| #define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 178 of file ce_lex.cpp.
Referenced by doctokenizerYYpushBackHtmlTag(), and VHDLLanguageScanner::parseInput().
| #define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 334 of file ce_lex.cpp.
| #define YY_BREAK break; |
Definition at line 702 of file ce_lex.cpp.
| #define YY_BUF_SIZE 16384 |
| #define YY_BUFFER_EOF_PENDING 2 |
Definition at line 250 of file ce_lex.cpp.
| #define YY_BUFFER_NEW 0 |
Definition at line 238 of file ce_lex.cpp.
Referenced by configYY_flush_buffer(), configYY_scan_buffer(), cppExpYY_flush_buffer(), cppExpYY_scan_buffer(), declinfoYY_flush_buffer(), declinfoYY_scan_buffer(), doctokenizerYY_flush_buffer(), doctokenizerYY_scan_buffer(), fcodeYY_flush_buffer(), fcodeYY_scan_buffer(), fscanYY_flush_buffer(), fscanYY_scan_buffer(), preYY_flush_buffer(), preYY_scan_buffer(), pycodeYY_flush_buffer(), pycodeYY_scan_buffer(), pyscanYY_flush_buffer(), pyscanYY_scan_buffer(), tagYY_flush_buffer(), tagYY_scan_buffer(), vhdlcodeYY_flush_buffer(), vhdlcodeYY_scan_buffer(), vhdlscanYY_flush_buffer(), and vhdlscanYY_scan_buffer().
| #define YY_BUFFER_NORMAL 1 |
Definition at line 239 of file ce_lex.cpp.
| #define YY_CURRENT_BUFFER |
Value:
( (yy_buffer_stack) \
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
: NULL)
Definition at line 266 of file ce_lex.cpp.
Referenced by configYY_flush_buffer(), configYYlex_destroy(), configYYpop_buffer_state(), configYYpush_buffer_state(), cppExpYY_flush_buffer(), cppExpYYlex_destroy(), cppExpYYpop_buffer_state(), cppExpYYpush_buffer_state(), declinfoYY_flush_buffer(), declinfoYYlex_destroy(), declinfoYYpop_buffer_state(), declinfoYYpush_buffer_state(), doctokenizerYY_flush_buffer(), doctokenizerYYcleanup(), doctokenizerYYlex_destroy(), doctokenizerYYpop_buffer_state(), doctokenizerYYpopContext(), doctokenizerYYpush_buffer_state(), doctokenizerYYpushContext(), fcodeYY_flush_buffer(), fcodeYYlex_destroy(), fcodeYYpop_buffer_state(), fcodeYYpush_buffer_state(), fscanYY_flush_buffer(), fscanYYlex_destroy(), fscanYYpop_buffer_state(), fscanYYpush_buffer_state(), preYY_flush_buffer(), preYYlex_destroy(), preYYpop_buffer_state(), preYYpush_buffer_state(), pycodeYY_flush_buffer(), pycodeYYlex_destroy(), pycodeYYpop_buffer_state(), pycodeYYpush_buffer_state(), pyscanYY_flush_buffer(), pyscanYYlex_destroy(), pyscanYYpop_buffer_state(), pyscanYYpush_buffer_state(), tagYY_flush_buffer(), tagYYlex_destroy(), tagYYpop_buffer_state(), tagYYpush_buffer_state(), vhdlcodeYY_flush_buffer(), vhdlcodeYYlex_destroy(), vhdlcodeYYpop_buffer_state(), vhdlcodeYYpush_buffer_state(), vhdlscanYY_flush_buffer(), vhdlscanYYlex_destroy(), vhdlscanYYpop_buffer_state(), and vhdlscanYYpush_buffer_state().
| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 273 of file ce_lex.cpp.
Referenced by configYYlex_destroy(), configYYpop_buffer_state(), configYYpush_buffer_state(), cppExpYYlex_destroy(), cppExpYYpop_buffer_state(), cppExpYYpush_buffer_state(), declinfoYYlex_destroy(), declinfoYYpop_buffer_state(), declinfoYYpush_buffer_state(), doctokenizerYYlex_destroy(), doctokenizerYYpop_buffer_state(), doctokenizerYYpush_buffer_state(), fcodeYYlex_destroy(), fcodeYYpop_buffer_state(), fcodeYYpush_buffer_state(), fscanYYlex_destroy(), fscanYYpop_buffer_state(), fscanYYpush_buffer_state(), preYYlex_destroy(), preYYpop_buffer_state(), preYYpush_buffer_state(), pycodeYYlex_destroy(), pycodeYYpop_buffer_state(), pycodeYYpush_buffer_state(), pyscanYYlex_destroy(), pyscanYYpop_buffer_state(), pyscanYYpush_buffer_state(), tagYYlex_destroy(), tagYYpop_buffer_state(), tagYYpush_buffer_state(), vhdlcodeYYlex_destroy(), vhdlcodeYYpop_buffer_state(), vhdlcodeYYpush_buffer_state(), vhdlscanYYlex_destroy(), vhdlscanYYpop_buffer_state(), and vhdlscanYYpush_buffer_state().
| #define YY_DECL int cppExpYYlex (void) |
Definition at line 690 of file ce_lex.cpp.
| #define YY_DECL_IS_OURS 1 |
Definition at line 686 of file ce_lex.cpp.
| #define YY_DO_BEFORE_ACTION |
Value:
(yytext_ptr) = yy_bp; \ cppExpYYleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp;
Definition at line 359 of file ce_lex.cpp.
| #define YY_END_OF_BUFFER 34 |
Definition at line 367 of file ce_lex.cpp.
| #define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 138 of file ce_lex.cpp.
Referenced by configYY_flush_buffer(), configYY_scan_buffer(), configYY_scan_bytes(), cppExpYY_flush_buffer(), cppExpYY_scan_buffer(), cppExpYY_scan_bytes(), declinfoYY_flush_buffer(), declinfoYY_scan_buffer(), declinfoYY_scan_bytes(), doctokenizerYY_flush_buffer(), doctokenizerYY_scan_buffer(), doctokenizerYY_scan_bytes(), fcodeYY_flush_buffer(), fcodeYY_scan_buffer(), fcodeYY_scan_bytes(), fscanYY_flush_buffer(), fscanYY_scan_buffer(), fscanYY_scan_bytes(), preYY_flush_buffer(), preYY_scan_buffer(), preYY_scan_bytes(), pycodeYY_flush_buffer(), pycodeYY_scan_buffer(), pycodeYY_scan_bytes(), pyscanYY_flush_buffer(), pyscanYY_scan_buffer(), pyscanYY_scan_bytes(), tagYY_flush_buffer(), tagYY_scan_buffer(), tagYY_scan_bytes(), vhdlcodeYY_flush_buffer(), vhdlcodeYY_scan_buffer(), vhdlcodeYY_scan_bytes(), vhdlscanYY_flush_buffer(), vhdlscanYY_scan_buffer(), and vhdlscanYY_scan_bytes().
| #define YY_EXIT_FAILURE 2 |
Definition at line 1726 of file ce_lex.cpp.
| #define YY_EXTRA_TYPE void * |
Definition at line 578 of file ce_lex.cpp.
| #define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 677 of file ce_lex.cpp.
Referenced by configYY_scan_buffer(), configYY_scan_bytes(), cppExpYY_scan_buffer(), cppExpYY_scan_bytes(), declinfoYY_scan_buffer(), declinfoYY_scan_bytes(), doctokenizerYY_scan_buffer(), doctokenizerYY_scan_bytes(), fcodeYY_scan_buffer(), fcodeYY_scan_bytes(), fscanYY_scan_buffer(), fscanYY_scan_bytes(), preYY_scan_buffer(), preYY_scan_bytes(), pycodeYY_scan_buffer(), pycodeYY_scan_bytes(), pyscanYY_scan_buffer(), pyscanYY_scan_bytes(), tagYY_scan_buffer(), tagYY_scan_bytes(), vhdlcodeYY_scan_buffer(), vhdlcodeYY_scan_bytes(), vhdlscanYY_scan_buffer(), and vhdlscanYY_scan_bytes().
| #define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 9 of file ce_lex.cpp.
| #define YY_FLEX_MINOR_VERSION 5 |
Definition at line 10 of file ce_lex.cpp.
| #define YY_FLEX_SUBMINOR_VERSION 33 |
Definition at line 11 of file ce_lex.cpp.
| #define YY_FLUSH_BUFFER cppExpYY_flush_buffer(YY_CURRENT_BUFFER ) |
Definition at line 302 of file ce_lex.cpp.
| #define YY_INPUT | ( | buf, | |||
| result, | |||||
| max_size | ) | result=yyread(buf,max_size); |
Definition at line 552 of file ce_lex.cpp.
| #define YY_INT_ALIGNED short int |
Definition at line 4 of file ce_lex.cpp.
| #define YY_LESS_LINENO | ( | n | ) |
Definition at line 162 of file ce_lex.cpp.
| #define YY_MORE_ADJ 0 |
Definition at line 514 of file ce_lex.cpp.
| #define YY_NEVER_INTERACTIVE 1 |
Definition at line 541 of file ce_lex.cpp.
| #define yy_new_buffer cppExpYY_create_buffer |
Definition at line 312 of file ce_lex.cpp.
| #define YY_NEW_FILE cppExpYYrestart(cppExpYYin ) |
Definition at line 136 of file ce_lex.cpp.
| #define YY_NULL 0 |
Definition at line 110 of file ce_lex.cpp.
| #define YY_NUM_RULES 33 |
Definition at line 366 of file ce_lex.cpp.
| #define YY_READ_BUF_SIZE 8192 |
Definition at line 615 of file ce_lex.cpp.
| #define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 515 of file ce_lex.cpp.
| #define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 705 of file ce_lex.cpp.
| #define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 117 of file ce_lex.cpp.
| #define yy_set_bol | ( | at_bol | ) |
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){\
cppExpYYensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
cppExpYY_create_buffer(cppExpYYin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
Definition at line 324 of file ce_lex.cpp.
| #define yy_set_interactive | ( | is_interactive | ) |
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){ \
cppExpYYensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
cppExpYY_create_buffer(cppExpYYin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
Definition at line 314 of file ce_lex.cpp.
| #define YY_START (((yy_start) - 1) / 2) |
| #define YY_START_STACK_INCR 25 |
Definition at line 672 of file ce_lex.cpp.
| #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 147 of file ce_lex.cpp.
| #define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 133 of file ce_lex.cpp.
| #define yyconst |
Definition at line 106 of file ce_lex.cpp.
| #define yyless | ( | n | ) |
Value:
do \ { \ /* Undo effects of setting up cppExpYYtext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ cppExpYYtext[cppExpYYleng] = (yy_hold_char); \ (yy_c_buf_p) = cppExpYYtext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ cppExpYYleng = yyless_macro_arg; \ } \ while ( 0 )
Definition at line 1738 of file ce_lex.cpp.
| #define yyless | ( | n | ) |
Value:
do \ { \ /* Undo effects of setting up cppExpYYtext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up cppExpYYtext again */ \ } \ while ( 0 )
Definition at line 1738 of file ce_lex.cpp.
| #define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 513 of file ce_lex.cpp.
| #define YYSTATE YY_START |
Definition at line 130 of file ce_lex.cpp.
| #define YYTABLES_NAME "yytables" |
Definition at line 1928 of file ce_lex.cpp.
| #define yyterminate | ( | ) | return YY_NULL |
Definition at line 667 of file ce_lex.cpp.
| #define yytext_ptr cppExpYYtext |
Definition at line 349 of file ce_lex.cpp.
| typedef short int flex_int16_t |
Definition at line 51 of file ce_lex.cpp.
| typedef int flex_int32_t |
Definition at line 52 of file ce_lex.cpp.
| typedef signed char flex_int8_t |
Definition at line 50 of file ce_lex.cpp.
| typedef unsigned short int flex_uint16_t |
Definition at line 54 of file ce_lex.cpp.
| typedef unsigned int flex_uint32_t |
Definition at line 55 of file ce_lex.cpp.
| typedef unsigned char flex_uint8_t |
Definition at line 53 of file ce_lex.cpp.
| typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 151 of file ce_lex.cpp.
| typedef unsigned char YY_CHAR |
Definition at line 338 of file ce_lex.cpp.
| typedef unsigned int yy_size_t |
Definition at line 187 of file ce_lex.cpp.
| typedef int yy_state_type |
Definition at line 342 of file ce_lex.cpp.
| YY_BUFFER_STATE cppExpYY_create_buffer | ( | FILE * | file, | |
| int | size | |||
| ) |
| void cppExpYY_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Referenced by cppExpYYlex_destroy(), and cppExpYYpop_buffer_state().
| void cppExpYY_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 1522 of file ce_lex.cpp.
References yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_END_OF_BUFFER_CHAR, and yy_buffer_state::yy_n_chars.
| YY_BUFFER_STATE cppExpYY_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 1645 of file ce_lex.cpp.
References cppExpYY_switch_to_buffer(), cppExpYYalloc(), yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, yy_buffer_state::yy_buf_size, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_fill_buffer, yy_buffer_state::yy_input_file, yy_buffer_state::yy_is_interactive, yy_buffer_state::yy_is_our_buffer, and yy_buffer_state::yy_n_chars.
Referenced by cppExpYY_scan_bytes().
| YY_BUFFER_STATE cppExpYY_scan_bytes | ( | yyconst char * | yybytes, | |
| int | _yybytes_len | |||
| ) |
Setup the input buffer state to scan the given bytes. The next call to cppExpYYlex() 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 1695 of file ce_lex.cpp.
References cppExpYY_scan_buffer(), cppExpYYalloc(), YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, and yy_buffer_state::yy_is_our_buffer.
Referenced by cppExpYY_scan_string().
| YY_BUFFER_STATE cppExpYY_scan_string | ( | yyconst char * | yystr | ) |
Setup the input buffer state to scan a string. The next call to cppExpYYlex() will scan from a copy of str.
| str | a NUL-terminated string to scan |
Definition at line 1682 of file ce_lex.cpp.
References cppExpYY_scan_bytes().
| void cppExpYY_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Referenced by cppExpYY_scan_buffer().
| void * cppExpYYalloc | ( | yy_size_t | ) |
Definition at line 1906 of file ce_lex.cpp.
Referenced by cppExpYY_scan_buffer(), and cppExpYY_scan_bytes().
| void cppExpYYfree | ( | void * | ) |
| int cppExpYYget_debug | ( | void | ) |
Definition at line 1822 of file ce_lex.cpp.
| FILE* cppExpYYget_in | ( | void | ) |
| int cppExpYYget_leng | ( | void | ) |
Get the length of the current token.
Definition at line 1782 of file ce_lex.cpp.
References cppExpYYleng.
| int cppExpYYget_lineno | ( | void | ) |
Get the current line number.
Definition at line 1757 of file ce_lex.cpp.
| FILE* cppExpYYget_out | ( | void | ) |
| char* cppExpYYget_text | ( | void | ) |
Get the current token.
Definition at line 1791 of file ce_lex.cpp.
| int cppExpYYlex | ( | void | ) |
| int cppExpYYlex_destroy | ( | void | ) |
Definition at line 1861 of file ce_lex.cpp.
References cppExpYY_delete_buffer(), cppExpYYfree(), cppExpYYpop_buffer_state(), YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.
| void cppExpYYpop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present. The next element becomes the new top.
Definition at line 1581 of file ce_lex.cpp.
References cppExpYY_delete_buffer(), YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.
Referenced by cppExpYYlex_destroy().
| void cppExpYYpush_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 1551 of file ce_lex.cpp.
References YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.
| void * cppExpYYrealloc | ( | void * | , | |
| yy_size_t | ||||
| ) |
Definition at line 1911 of file ce_lex.cpp.
| void cppExpYYrestart | ( | FILE * | input_file | ) |
Referenced by parseCppExpression().
| void cppExpYYset_debug | ( | int | bdebug | ) |
Definition at line 1827 of file ce_lex.cpp.
| void cppExpYYset_in | ( | FILE * | in_str | ) |
Set the input stream. This does not discard the current input buffer.
| in_str | A readable stream. |
Definition at line 1812 of file ce_lex.cpp.
References cppExpYYin.
| void cppExpYYset_lineno | ( | int | line_number | ) |
| void cppExpYYset_out | ( | FILE * | out_str | ) |
| int cppExpYYwrap | ( | void | ) |
Definition at line 1948 of file ce_lex.cpp.
| bool parseCppExpression | ( | const char * | fileName, | |
| int | lineNr, | |||
| const QCString & | s | |||
| ) |
Definition at line 1934 of file ce_lex.cpp.
References cppExpYYin, cppExpYYparse(), cppExpYYrestart(), and g_resultValue.
Referenced by computeExpression().
| int cppExpYY_flex_debug = 0 |
Definition at line 507 of file ce_lex.cpp.
Definition at line 507 of file ce_lex.cpp.
| FILE* cppExpYYin = (FILE *) 0 |
Definition at line 340 of file ce_lex.cpp.
Referenced by cppExpYYget_in(), cppExpYYset_in(), and parseCppExpression().
| FILE* cppExpYYin |
Definition at line 340 of file ce_lex.cpp.
Referenced by cppExpYYget_in(), cppExpYYset_in(), and parseCppExpression().
| int cppExpYYleng |
| int cppExpYYleng |
| int cppExpYYlineno = 1 |
Definition at line 346 of file ce_lex.cpp.
| int cppExpYYlineno |
Definition at line 346 of file ce_lex.cpp.
| FILE * cppExpYYout = (FILE *) 0 |
| FILE * cppExpYYout |
| char* cppExpYYtext |
Definition at line 516 of file ce_lex.cpp.
| char* cppExpYYtext |
Definition at line 516 of file ce_lex.cpp.
| QCString g_constExpFileName |
| int g_constExpLineNr |
| QCString g_strToken |
Definition at line 543 of file ce_lex.cpp.
Referenced by parseCharacter(), parseDecimal(), parseFloat(), parseHexadecimal(), and parseOctal().
1.5.1