doctokenizer.cpp File Reference

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <qfile.h>
#include <qstring.h>
#include <qstack.h>
#include <qdict.h>
#include "doctokenizer.h"
#include "cmdmapper.h"
#include "config.h"
#include "message.h"
#include "section.h"
#include "membergroup.h"
#include "definition.h"
#include "doxygen.h"
#include "portable.h"
#include <unistd.h>

Go to the source code of this file.

Classes

struct  yy_buffer_state
struct  yy_trans_info
struct  DocLexerContext

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   doctokenizerYYrestart(doctokenizerYYin )
#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   doctokenizerYY_flush_buffer(YY_CURRENT_BUFFER )
#define yy_new_buffer   doctokenizerYY_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 doctokenizerYYwrap(n)   1
#define YY_SKIP_YYWRAP
#define yytext_ptr   doctokenizerYYtext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   152
#define YY_END_OF_BUFFER   153
#define YY_TRAILING_MASK   0x2000
#define YY_TRAILING_HEAD_MASK   0x4000
#define REJECT
#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 St_Para   1
#define St_Comment   2
#define St_Title   3
#define St_TitleN   4
#define St_TitleQ   5
#define St_TitleA   6
#define St_TitleV   7
#define St_Code   8
#define St_XmlCode   9
#define St_HtmlOnly   10
#define St_ManOnly   11
#define St_LatexOnly   12
#define St_XmlOnly   13
#define St_Verbatim   14
#define St_Dot   15
#define St_Msc   16
#define St_Param   17
#define St_XRefItem   18
#define St_XRefItem2   19
#define St_File   20
#define St_Pattern   21
#define St_Link   22
#define St_Ref   23
#define St_Ref2   24
#define St_IntRef   25
#define St_Text   26
#define St_SkipTitle   27
#define St_Sections   28
#define St_SecLabel1   29
#define St_SecLabel2   30
#define St_SecTitle   31
#define St_SecSkip   32
#define YY_EXTRA_TYPE   void *
#define YY_READ_BUF_SIZE   8192
#define ECHO   (void) fwrite( doctokenizerYYtext, doctokenizerYYleng, 1, doctokenizerYYout )
#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 doctokenizerYYlex (void)
#define YY_BREAK   break;
#define YY_RULE_SETUP
#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_stateYY_BUFFER_STATE
typedef unsigned int yy_size_t
typedef unsigned char YY_CHAR
typedef int yy_state_type

Functions

void doctokenizerYYrestart (FILE *input_file)
void doctokenizerYY_switch_to_buffer (YY_BUFFER_STATE new_buffer)
YY_BUFFER_STATE doctokenizerYY_create_buffer (FILE *file, int size)
void doctokenizerYY_delete_buffer (YY_BUFFER_STATE b)
void doctokenizerYY_flush_buffer (YY_BUFFER_STATE b)
void doctokenizerYYpush_buffer_state (YY_BUFFER_STATE new_buffer)
void doctokenizerYYpop_buffer_state (void)
YY_BUFFER_STATE doctokenizerYY_scan_buffer (char *base, yy_size_t size)
YY_BUFFER_STATE doctokenizerYY_scan_string (yyconst char *yy_str)
YY_BUFFER_STATE doctokenizerYY_scan_bytes (yyconst char *bytes, int len)
void * doctokenizerYYalloc (yy_size_t)
void * doctokenizerYYrealloc (void *, yy_size_t)
void doctokenizerYYfree (void *)
void doctokenizerYYpushContext ()
bool doctokenizerYYpopContext ()
const char * tokToString (int token)
int doctokenizerYYlex (void)
int doctokenizerYYget_lineno (void)
FILE * doctokenizerYYget_in (void)
FILE * doctokenizerYYget_out (void)
int doctokenizerYYget_leng (void)
char * doctokenizerYYget_text (void)
void doctokenizerYYset_lineno (int line_number)
void doctokenizerYYset_in (FILE *in_str)
void doctokenizerYYset_out (FILE *out_str)
int doctokenizerYYget_debug (void)
void doctokenizerYYset_debug (int bdebug)
int doctokenizerYYlex_destroy (void)
void doctokenizerYYFindSections (const char *input, Definition *d, MemberGroup *mg, const char *fileName)
void doctokenizerYYinit (const char *input, const char *fileName)
void doctokenizerYYsetStatePara ()
void doctokenizerYYsetStateTitle ()
void doctokenizerYYsetStateTitleAttrValue ()
void doctokenizerYYsetStateCode ()
void doctokenizerYYsetStateXmlCode ()
void doctokenizerYYsetStateHtmlOnly ()
void doctokenizerYYsetStateManOnly ()
void doctokenizerYYsetStateXmlOnly ()
void doctokenizerYYsetStateLatexOnly ()
void doctokenizerYYsetStateVerbatim ()
void doctokenizerYYsetStateDot ()
void doctokenizerYYsetStateMsc ()
void doctokenizerYYsetStateParam ()
void doctokenizerYYsetStateXRefItem ()
void doctokenizerYYsetStateFile ()
void doctokenizerYYsetStatePattern ()
void doctokenizerYYsetStateLink ()
void doctokenizerYYsetStateRef ()
void doctokenizerYYsetStateInternalRef ()
void doctokenizerYYsetStateText ()
void doctokenizerYYsetStateSkipTitle ()
void doctokenizerYYcleanup ()
void doctokenizerYYsetInsidePre (bool b)
void doctokenizerYYpushBackHtmlTag (const char *tag)

Variables

int doctokenizerYYleng
FILE * doctokenizerYYin
FILE * doctokenizerYYout
int doctokenizerYYleng
FILE * doctokenizerYYin = (FILE *) 0
FILE * doctokenizerYYout = (FILE *) 0
int doctokenizerYYlineno
int doctokenizerYYlineno = 1
char * doctokenizerYYtext
int doctokenizerYY_flex_debug
int doctokenizerYY_flex_debug = 0
char * doctokenizerYYtext
TokenInfog_token = 0


Define Documentation

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 123 of file doctokenizer.cpp.

#define doctokenizerYYwrap (  )     1

Definition at line 351 of file doctokenizer.cpp.

#define ECHO   (void) fwrite( doctokenizerYYtext, doctokenizerYYleng, 1, doctokenizerYYout )

Definition at line 6232 of file doctokenizer.cpp.

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 158 of file doctokenizer.cpp.

#define EOB_ACT_END_OF_FILE   1

Definition at line 159 of file doctokenizer.cpp.

#define EOB_ACT_LAST_MATCH   2

Definition at line 160 of file doctokenizer.cpp.

#define FLEX_BETA

Definition at line 13 of file doctokenizer.cpp.

#define FLEX_SCANNER

Definition at line 8 of file doctokenizer.cpp.

#define INITIAL   0

Definition at line 6142 of file doctokenizer.cpp.

#define INT16_MAX   (32767)

Definition at line 72 of file doctokenizer.cpp.

#define INT16_MIN   (-32767-1)

Definition at line 63 of file doctokenizer.cpp.

#define INT32_MAX   (2147483647)

Definition at line 75 of file doctokenizer.cpp.

#define INT32_MIN   (-2147483647-1)

Definition at line 66 of file doctokenizer.cpp.

#define INT8_MAX   (127)

Definition at line 69 of file doctokenizer.cpp.

#define INT8_MIN   (-128)

Definition at line 60 of file doctokenizer.cpp.

#define REJECT

Value:

{ \
*yy_cp = (yy_hold_char); /* undo effects of setting up doctokenizerYYtext */ \
yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
(yy_lp) = yy_full_lp; /* restore orig. accepting pos. */ \
(yy_state_ptr) = yy_full_state; /* restore orig. state */ \
yy_current_state = *(yy_state_ptr); /* restore curr. state */ \
++(yy_lp); \
goto find_rule; \
}

Definition at line 5807 of file doctokenizer.cpp.

#define St_Code   8

Definition at line 6150 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateCode().

#define St_Comment   2

Definition at line 6144 of file doctokenizer.cpp.

#define St_Dot   15

Definition at line 6157 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateDot().

#define St_File   20

Definition at line 6162 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateFile().

#define St_HtmlOnly   10

Definition at line 6152 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateHtmlOnly().

#define St_IntRef   25

Definition at line 6167 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateInternalRef().

#define St_LatexOnly   12

Definition at line 6154 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateLatexOnly().

#define St_Link   22

Definition at line 6164 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateLink().

#define St_ManOnly   11

Definition at line 6153 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateManOnly().

#define St_Msc   16

Definition at line 6158 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateMsc().

#define St_Para   1

Definition at line 6143 of file doctokenizer.cpp.

Referenced by doctokenizerYYinit(), and doctokenizerYYsetStatePara().

#define St_Param   17

Definition at line 6159 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateParam().

#define St_Pattern   21

Definition at line 6163 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStatePattern().

#define St_Ref   23

Definition at line 6165 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateRef().

#define St_Ref2   24

Definition at line 6166 of file doctokenizer.cpp.

#define St_SecLabel1   29

Definition at line 6171 of file doctokenizer.cpp.

#define St_SecLabel2   30

Definition at line 6172 of file doctokenizer.cpp.

#define St_SecSkip   32

Definition at line 6174 of file doctokenizer.cpp.

#define St_Sections   28

Definition at line 6170 of file doctokenizer.cpp.

Referenced by doctokenizerYYFindSections().

#define St_SecTitle   31

Definition at line 6173 of file doctokenizer.cpp.

#define St_SkipTitle   27

Definition at line 6169 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateSkipTitle().

#define St_Text   26

Definition at line 6168 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateText().

#define St_Title   3

Definition at line 6145 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateTitle().

#define St_TitleA   6

Definition at line 6148 of file doctokenizer.cpp.

#define St_TitleN   4

Definition at line 6146 of file doctokenizer.cpp.

#define St_TitleQ   5

Definition at line 6147 of file doctokenizer.cpp.

#define St_TitleV   7

Definition at line 6149 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateTitleAttrValue().

#define St_Verbatim   14

Definition at line 6156 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateVerbatim().

#define St_XmlCode   9

Definition at line 6151 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateXmlCode().

#define St_XmlOnly   13

Definition at line 6155 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateXmlOnly().

#define St_XRefItem   18

Definition at line 6160 of file doctokenizer.cpp.

Referenced by doctokenizerYYsetStateXRefItem().

#define St_XRefItem2   19

Definition at line 6161 of file doctokenizer.cpp.

#define UINT16_MAX   (65535U)

Definition at line 81 of file doctokenizer.cpp.

#define UINT32_MAX   (4294967295U)

Definition at line 84 of file doctokenizer.cpp.

#define UINT8_MAX   (255U)

Definition at line 78 of file doctokenizer.cpp.

#define unput (  )     yyunput( c, (yytext_ptr) )

Definition at line 191 of file doctokenizer.cpp.

 
#define YY_AT_BOL (  )     (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 347 of file doctokenizer.cpp.

#define YY_BREAK   break;

Definition at line 6311 of file doctokenizer.cpp.

#define YY_BUF_SIZE   16384

Definition at line 142 of file doctokenizer.cpp.

#define YY_BUFFER_EOF_PENDING   2

Definition at line 263 of file doctokenizer.cpp.

#define YY_BUFFER_NEW   0

Definition at line 251 of file doctokenizer.cpp.

#define YY_BUFFER_NORMAL   1

Definition at line 252 of file doctokenizer.cpp.

#define YY_CURRENT_BUFFER

Value:

( (yy_buffer_stack) \
                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
                          : NULL)

Definition at line 279 of file doctokenizer.cpp.

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 286 of file doctokenizer.cpp.

#define YY_DECL   int doctokenizerYYlex (void)

Definition at line 6299 of file doctokenizer.cpp.

#define YY_DECL_IS_OURS   1

Definition at line 6295 of file doctokenizer.cpp.

#define YY_DO_BEFORE_ACTION

Value:

(yytext_ptr) = yy_bp; \
        doctokenizerYYleng = (size_t) (yy_cp - yy_bp); \
        (yy_hold_char) = *yy_cp; \
        *yy_cp = '\0'; \
        (yy_c_buf_p) = yy_cp;

Definition at line 375 of file doctokenizer.cpp.

#define YY_END_OF_BUFFER   153

Definition at line 383 of file doctokenizer.cpp.

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 138 of file doctokenizer.cpp.

#define YY_EXIT_FAILURE   2

Definition at line 8377 of file doctokenizer.cpp.

#define YY_EXTRA_TYPE   void *

Definition at line 6185 of file doctokenizer.cpp.

#define YY_FATAL_ERROR ( msg   )     yy_fatal_error( msg )

Definition at line 6286 of file doctokenizer.cpp.

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 9 of file doctokenizer.cpp.

#define YY_FLEX_MINOR_VERSION   5

Definition at line 10 of file doctokenizer.cpp.

#define YY_FLEX_SUBMINOR_VERSION   33

Definition at line 11 of file doctokenizer.cpp.

#define YY_FLUSH_BUFFER   doctokenizerYY_flush_buffer(YY_CURRENT_BUFFER )

Definition at line 315 of file doctokenizer.cpp.

#define YY_INPUT ( buf,
result,
max_size   )     result=yyread(buf,max_size);

Definition at line 6095 of file doctokenizer.cpp.

#define YY_INT_ALIGNED   short int

Definition at line 4 of file doctokenizer.cpp.

#define YY_LESS_LINENO (  ) 

Value:

do { \
                int yyl;\
                for ( yyl = n; yyl < doctokenizerYYleng; ++yyl )\
                    if ( doctokenizerYYtext[yyl] == '\n' )\
                        --doctokenizerYYlineno;\
            }while(0)

Definition at line 169 of file doctokenizer.cpp.

#define YY_MORE_ADJ   0

Definition at line 5819 of file doctokenizer.cpp.

#define YY_NEVER_INTERACTIVE   1

Definition at line 5857 of file doctokenizer.cpp.

#define yy_new_buffer   doctokenizerYY_create_buffer

Definition at line 325 of file doctokenizer.cpp.

#define YY_NEW_FILE   doctokenizerYYrestart(doctokenizerYYin )

Definition at line 136 of file doctokenizer.cpp.

#define YY_NULL   0

Definition at line 110 of file doctokenizer.cpp.

#define YY_NUM_RULES   152

Definition at line 382 of file doctokenizer.cpp.

#define YY_READ_BUF_SIZE   8192

Definition at line 6224 of file doctokenizer.cpp.

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 5820 of file doctokenizer.cpp.

#define YY_RULE_SETUP

Value:

if ( doctokenizerYYleng > 0 ) \
                YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
                                (doctokenizerYYtext[doctokenizerYYleng - 1] == '\n'); \
        YY_USER_ACTION

Definition at line 6314 of file doctokenizer.cpp.

#define YY_SC_TO_UI (  )     ((unsigned int) (unsigned char) c)

Definition at line 117 of file doctokenizer.cpp.

#define yy_set_bol ( at_bol   ) 

Value:

{ \
        if ( ! YY_CURRENT_BUFFER ){\
        doctokenizerYYensure_buffer_stack (); \
                YY_CURRENT_BUFFER_LVALUE =    \
            doctokenizerYY_create_buffer(doctokenizerYYin,YY_BUF_SIZE ); \
        } \
        YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
        }

Definition at line 337 of file doctokenizer.cpp.

#define yy_set_interactive ( is_interactive   ) 

Value:

{ \
        if ( ! YY_CURRENT_BUFFER ){ \
        doctokenizerYYensure_buffer_stack (); \
                YY_CURRENT_BUFFER_LVALUE =    \
            doctokenizerYY_create_buffer(doctokenizerYYin,YY_BUF_SIZE ); \
        } \
        YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
        }

Definition at line 327 of file doctokenizer.cpp.

#define YY_SKIP_YYWRAP

Definition at line 352 of file doctokenizer.cpp.

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

Definition at line 129 of file doctokenizer.cpp.

#define YY_START_STACK_INCR   25

Definition at line 6281 of file doctokenizer.cpp.

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

Definition at line 147 of file doctokenizer.cpp.

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

Definition at line 133 of file doctokenizer.cpp.

#define YY_TRAILING_HEAD_MASK   0x4000

Definition at line 5806 of file doctokenizer.cpp.

#define YY_TRAILING_MASK   0x2000

Definition at line 5805 of file doctokenizer.cpp.

#define yyconst

Definition at line 106 of file doctokenizer.cpp.

#define yyless (  ) 

Value:

do \
                { \
                /* Undo effects of setting up doctokenizerYYtext. */ \
        int yyless_macro_arg = (n); \
        YY_LESS_LINENO(yyless_macro_arg);\
                doctokenizerYYtext[doctokenizerYYleng] = (yy_hold_char); \
                (yy_c_buf_p) = doctokenizerYYtext + yyless_macro_arg; \
                (yy_hold_char) = *(yy_c_buf_p); \
                *(yy_c_buf_p) = '\0'; \
                doctokenizerYYleng = yyless_macro_arg; \
                } \
        while ( 0 )

Definition at line 8389 of file doctokenizer.cpp.

#define yyless (  ) 

Value:

do \
                { \
                /* Undo effects of setting up doctokenizerYYtext. */ \
        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 doctokenizerYYtext again */ \
                } \
        while ( 0 )

Definition at line 8389 of file doctokenizer.cpp.

 
#define yymore (  )     yymore_used_but_not_detected

Definition at line 5818 of file doctokenizer.cpp.

#define YYSTATE   YY_START

Definition at line 130 of file doctokenizer.cpp.

#define YYTABLES_NAME   "yytables"

Definition at line 8590 of file doctokenizer.cpp.

 
#define yyterminate (  )     return YY_NULL

Definition at line 6276 of file doctokenizer.cpp.

#define yytext_ptr   doctokenizerYYtext

Definition at line 365 of file doctokenizer.cpp.


Typedef Documentation

typedef short int flex_int16_t

Definition at line 51 of file doctokenizer.cpp.

typedef int flex_int32_t

Definition at line 52 of file doctokenizer.cpp.

typedef signed char flex_int8_t

Definition at line 50 of file doctokenizer.cpp.

typedef unsigned short int flex_uint16_t

Definition at line 54 of file doctokenizer.cpp.

typedef unsigned int flex_uint32_t

Definition at line 55 of file doctokenizer.cpp.

typedef unsigned char flex_uint8_t

Definition at line 53 of file doctokenizer.cpp.

typedef struct yy_buffer_state* YY_BUFFER_STATE

Definition at line 151 of file doctokenizer.cpp.

typedef unsigned char YY_CHAR

Definition at line 354 of file doctokenizer.cpp.

typedef unsigned int yy_size_t

Definition at line 200 of file doctokenizer.cpp.

typedef int yy_state_type

Definition at line 358 of file doctokenizer.cpp.


Function Documentation

YY_BUFFER_STATE doctokenizerYY_create_buffer ( FILE *  file,
int  size 
)

Referenced by doctokenizerYYpushContext().

void doctokenizerYY_delete_buffer ( YY_BUFFER_STATE  b  ) 

Referenced by doctokenizerYYcleanup(), doctokenizerYYlex_destroy(), doctokenizerYYpop_buffer_state(), and doctokenizerYYpopContext().

void doctokenizerYY_flush_buffer ( YY_BUFFER_STATE  b  ) 

Discard all buffered characters. On the next scan, YY_INPUT will be called.

Parameters:
b the buffer state to be flushed, usually YY_CURRENT_BUFFER.

Definition at line 8173 of file doctokenizer.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 doctokenizerYY_scan_buffer ( char *  base,
yy_size_t  size 
)

Setup the input buffer state to scan directly from a user-specified character buffer.

Parameters:
base the character buffer
size the size in bytes of the character buffer
Returns:
the newly allocated buffer state object.

Definition at line 8296 of file doctokenizer.cpp.

References doctokenizerYY_switch_to_buffer(), doctokenizerYYalloc(), 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 doctokenizerYY_scan_bytes().

YY_BUFFER_STATE doctokenizerYY_scan_bytes ( yyconst char *  yybytes,
int  _yybytes_len 
)

Setup the input buffer state to scan the given bytes. The next call to doctokenizerYYlex() will scan from a copy of bytes.

Parameters:
bytes the byte buffer to scan
len the number of bytes in the buffer pointed to by bytes.
Returns:
the newly allocated buffer state object.

Definition at line 8346 of file doctokenizer.cpp.

References doctokenizerYY_scan_buffer(), doctokenizerYYalloc(), YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, and yy_buffer_state::yy_is_our_buffer.

Referenced by doctokenizerYY_scan_string().

YY_BUFFER_STATE doctokenizerYY_scan_string ( yyconst char *  yystr  ) 

Setup the input buffer state to scan a string. The next call to doctokenizerYYlex() will scan from a copy of str.

Parameters:
str a NUL-terminated string to scan
Returns:
the newly allocated buffer state object.
Note:
If you want to scan bytes that may contain NUL values, then use doctokenizerYY_scan_bytes() instead.

Definition at line 8333 of file doctokenizer.cpp.

References doctokenizerYY_scan_bytes().

void doctokenizerYY_switch_to_buffer ( YY_BUFFER_STATE  new_buffer  ) 

Referenced by doctokenizerYY_scan_buffer(), doctokenizerYYpopContext(), and doctokenizerYYpushContext().

void * doctokenizerYYalloc ( yy_size_t   ) 

Definition at line 8568 of file doctokenizer.cpp.

Referenced by doctokenizerYY_scan_buffer(), and doctokenizerYY_scan_bytes().

void doctokenizerYYcleanup (  ) 

Definition at line 8736 of file doctokenizer.cpp.

References doctokenizerYY_delete_buffer(), and YY_CURRENT_BUFFER.

void doctokenizerYYFindSections ( const char *  input,
Definition d,
MemberGroup mg,
const char *  fileName 
)

Definition at line 8598 of file doctokenizer.cpp.

References BEGIN, doctokenizerYYlex(), and St_Sections.

Referenced by docFindSections().

void doctokenizerYYfree ( void *   ) 

Definition at line 8585 of file doctokenizer.cpp.

Referenced by doctokenizerYYlex_destroy().

int doctokenizerYYget_debug ( void   ) 

Definition at line 8473 of file doctokenizer.cpp.

FILE* doctokenizerYYget_in ( void   ) 

Get the input stream.

Definition at line 8417 of file doctokenizer.cpp.

References doctokenizerYYin.

int doctokenizerYYget_leng ( void   ) 

Get the length of the current token.

Definition at line 8433 of file doctokenizer.cpp.

int doctokenizerYYget_lineno ( void   ) 

Get the current line number.

Definition at line 8408 of file doctokenizer.cpp.

FILE* doctokenizerYYget_out ( void   ) 

Get the output stream.

Definition at line 8425 of file doctokenizer.cpp.

References doctokenizerYYout.

char* doctokenizerYYget_text ( void   ) 

Get the current token.

Definition at line 8442 of file doctokenizer.cpp.

void doctokenizerYYinit ( const char *  input,
const char *  fileName 
)

Definition at line 8613 of file doctokenizer.cpp.

References BEGIN, and St_Para.

Referenced by validatingParseDoc(), and validatingParseText().

int doctokenizerYYlex ( void   ) 

Referenced by doctokenizerYYFindSections(), DocPara::handleCommand(), DocPara::handleDotFile(), DocPara::handleImage(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), DocPara::handleLink(), DocPara::handleRef(), DocPara::handleSection(), DocPara::handleStartCode(), DocPara::handleXRefItem(), DocText::parse(), DocPara::parse(), DocParamList::parse(), DocTitle::parse(), DocHtmlList::parse(), DocHtmlDescList::parse(), DocHtmlDescTitle::parse(), DocHtmlTable::parse(), DocHtmlRow::parse(), DocHtmlCaption::parse(), DocIndexEntry::parse(), DocHRef::parse(), DocHtmlHeader::parse(), DocImage::parse(), DocDotFile::parse(), DocLink::parse(), DocRef::parse(), DocInternalRef::parse(), DocSecRefList::parse(), DocSecRefItem::parse(), DocHtmlList::parseXml(), DocHtmlTable::parseXml(), and DocHtmlRow::parseXml().

int doctokenizerYYlex_destroy ( void   ) 

Definition at line 8520 of file doctokenizer.cpp.

References doctokenizerYY_delete_buffer(), doctokenizerYYfree(), doctokenizerYYpop_buffer_state(), YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.

void doctokenizerYYpop_buffer_state ( void   ) 

Removes and deletes the top of the stack, if present. The next element becomes the new top.

Definition at line 8232 of file doctokenizer.cpp.

References doctokenizerYY_delete_buffer(), YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.

Referenced by doctokenizerYYlex_destroy().

bool doctokenizerYYpopContext (  ) 

Definition at line 5902 of file doctokenizer.cpp.

References BEGIN, doctokenizerYY_delete_buffer(), doctokenizerYY_switch_to_buffer(), DocLexerContext::inputPos, DocLexerContext::inputString, DocLexerContext::rule, DocLexerContext::state, and YY_CURRENT_BUFFER.

void doctokenizerYYpush_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.

Parameters:
new_buffer The new state.

Definition at line 8202 of file doctokenizer.cpp.

References YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.

void doctokenizerYYpushBackHtmlTag ( const char *  tag  ) 

Definition at line 8746 of file doctokenizer.cpp.

References QCString, and unput.

Referenced by DocHtmlList::parse(), DocHtmlDescList::parse(), DocHtmlRow::parse(), DocHtmlList::parseXml(), and DocHtmlRow::parseXml().

void doctokenizerYYpushContext (  ) 

Definition at line 5890 of file doctokenizer.cpp.

References doctokenizerYY_create_buffer(), doctokenizerYY_switch_to_buffer(), doctokenizerYYin, g_token, DocLexerContext::inputPos, DocLexerContext::inputString, DocLexerContext::rule, DocLexerContext::state, DocLexerContext::token, YY_BUF_SIZE, YY_CURRENT_BUFFER, and YY_START.

void * doctokenizerYYrealloc ( void *  ,
yy_size_t   
)

Definition at line 8573 of file doctokenizer.cpp.

void doctokenizerYYrestart ( FILE *  input_file  ) 

void doctokenizerYYset_debug ( int  bdebug  ) 

Definition at line 8478 of file doctokenizer.cpp.

void doctokenizerYYset_in ( FILE *  in_str  ) 

Set the input stream. This does not discard the current input buffer.

Parameters:
in_str A readable stream.
See also:
doctokenizerYY_switch_to_buffer

Definition at line 8463 of file doctokenizer.cpp.

References doctokenizerYYin.

void doctokenizerYYset_lineno ( int  line_number  ) 

Set the current line number.

Parameters:
line_number 

Definition at line 8451 of file doctokenizer.cpp.

void doctokenizerYYset_out ( FILE *  out_str  ) 

Definition at line 8468 of file doctokenizer.cpp.

References doctokenizerYYout.

void doctokenizerYYsetInsidePre ( bool  b  ) 

Definition at line 8741 of file doctokenizer.cpp.

void doctokenizerYYsetStateCode (  ) 

Definition at line 8637 of file doctokenizer.cpp.

References BEGIN, g_token, St_Code, and TokenInfo::verb.

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateDot (  ) 

Definition at line 8679 of file doctokenizer.cpp.

References BEGIN, g_token, St_Dot, and TokenInfo::verb.

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateFile (  ) 

Definition at line 8701 of file doctokenizer.cpp.

References BEGIN, and St_File.

Referenced by DocPara::handleDotFile(), DocPara::handleImage(), and DocPara::handleInclude().

void doctokenizerYYsetStateHtmlOnly (  ) 

Definition at line 8649 of file doctokenizer.cpp.

References BEGIN, g_token, St_HtmlOnly, and TokenInfo::verb.

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateInternalRef (  ) 

Definition at line 8721 of file doctokenizer.cpp.

References BEGIN, and St_IntRef.

void doctokenizerYYsetStateLatexOnly (  ) 

Definition at line 8667 of file doctokenizer.cpp.

References BEGIN, g_token, St_LatexOnly, and TokenInfo::verb.

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateLink (  ) 

Definition at line 8711 of file doctokenizer.cpp.

References BEGIN, and St_Link.

Referenced by DocPara::handleLink(), and DocHtmlDescTitle::parse().

void doctokenizerYYsetStateManOnly (  ) 

Definition at line 8655 of file doctokenizer.cpp.

References BEGIN, g_token, St_ManOnly, and TokenInfo::verb.

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateMsc (  ) 

Definition at line 8685 of file doctokenizer.cpp.

References BEGIN, g_token, St_Msc, and TokenInfo::verb.

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStatePara (  ) 

Definition at line 8622 of file doctokenizer.cpp.

References BEGIN, and St_Para.

Referenced by DocPara::handleCommand(), DocPara::handleDotFile(), DocPara::handleHtmlStartTag(), DocPara::handleImage(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), DocPara::handleLink(), DocPara::handleRef(), DocPara::handleSection(), DocPara::handleStartCode(), DocPara::handleXRefItem(), DocRoot::parse(), DocParamList::parse(), DocTitle::parse(), DocHtmlDescTitle::parse(), DocIndexEntry::parse(), DocImage::parse(), DocDotFile::parse(), and DocSecRefItem::parse().

void doctokenizerYYsetStateParam (  ) 

Definition at line 8691 of file doctokenizer.cpp.

References BEGIN, and St_Param.

Referenced by DocParamList::parse().

void doctokenizerYYsetStatePattern (  ) 

Definition at line 8706 of file doctokenizer.cpp.

References BEGIN, and St_Pattern.

Referenced by DocPara::handleIncludeOperator().

void doctokenizerYYsetStateRef (  ) 

Definition at line 8716 of file doctokenizer.cpp.

References BEGIN, and St_Ref.

Referenced by DocPara::handleRef(), and DocHtmlDescTitle::parse().

void doctokenizerYYsetStateSkipTitle (  ) 

Definition at line 8731 of file doctokenizer.cpp.

References BEGIN, and St_SkipTitle.

Referenced by DocPara::handleSection().

void doctokenizerYYsetStateText (  ) 

Definition at line 8726 of file doctokenizer.cpp.

References BEGIN, and St_Text.

Referenced by DocText::parse().

void doctokenizerYYsetStateTitle (  ) 

Definition at line 8627 of file doctokenizer.cpp.

References BEGIN, and St_Title.

Referenced by DocTitle::parse(), DocIndexEntry::parse(), DocImage::parse(), DocDotFile::parse(), and DocSecRefItem::parse().

void doctokenizerYYsetStateTitleAttrValue (  ) 

Definition at line 8632 of file doctokenizer.cpp.

References BEGIN, and St_TitleV.

Referenced by DocImage::parse().

void doctokenizerYYsetStateVerbatim (  ) 

Definition at line 8673 of file doctokenizer.cpp.

References BEGIN, g_token, St_Verbatim, and TokenInfo::verb.

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateXmlCode (  ) 

Definition at line 8643 of file doctokenizer.cpp.

References BEGIN, g_token, St_XmlCode, and TokenInfo::verb.

Referenced by DocPara::handleHtmlStartTag().

void doctokenizerYYsetStateXmlOnly (  ) 

Definition at line 8661 of file doctokenizer.cpp.

References BEGIN, g_token, St_XmlOnly, and TokenInfo::verb.

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateXRefItem (  ) 

Definition at line 8696 of file doctokenizer.cpp.

References BEGIN, and St_XRefItem.

Referenced by DocPara::handleXRefItem().

const char* tokToString ( int  token  ) 

Definition at line 5918 of file doctokenizer.cpp.

References TK_COMMAND, TK_ENDLIST, TK_HTMLTAG, TK_LISTITEM, TK_LNKWORD, TK_NEWPARA, TK_RCSTAG, TK_SYMBOL, TK_URL, TK_WHITESPACE, and TK_WORD.

Referenced by DocPara::handleCommand(), DocPara::handleDotFile(), DocPara::handleImage(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), DocPara::handleLink(), DocPara::handleRef(), DocPara::handleSection(), DocText::parse(), DocPara::parse(), DocTitle::parse(), DocHtmlList::parse(), DocHtmlDescList::parse(), DocHtmlDescTitle::parse(), DocHtmlTable::parse(), DocHtmlRow::parse(), DocHtmlCaption::parse(), DocIndexEntry::parse(), DocHRef::parse(), DocHtmlHeader::parse(), DocImage::parse(), DocDotFile::parse(), DocLink::parse(), DocRef::parse(), DocInternalRef::parse(), DocSecRefList::parse(), DocSecRefItem::parse(), DocHtmlList::parseXml(), and DocHtmlRow::parseXml().


Variable Documentation

int doctokenizerYY_flex_debug = 0

Definition at line 5797 of file doctokenizer.cpp.

int doctokenizerYY_flex_debug

Definition at line 5797 of file doctokenizer.cpp.

FILE* doctokenizerYYin = (FILE *) 0

Definition at line 356 of file doctokenizer.cpp.

FILE* doctokenizerYYin

Definition at line 356 of file doctokenizer.cpp.

Referenced by doctokenizerYYget_in(), doctokenizerYYpushContext(), and doctokenizerYYset_in().

int doctokenizerYYleng

Definition at line 291 of file doctokenizer.cpp.

int doctokenizerYYleng

Definition at line 291 of file doctokenizer.cpp.

int doctokenizerYYlineno = 1

Definition at line 362 of file doctokenizer.cpp.

int doctokenizerYYlineno

Definition at line 362 of file doctokenizer.cpp.

Referenced by DocAnchor::DocAnchor(), DocLink::DocLink(), DocRef::DocRef(), DocPara::handleCommand(), DocPara::handleDotFile(), DocPara::handleHtmlEndTag(), DocPara::handleHtmlStartTag(), DocPara::handleImage(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), DocPara::handleLink(), DocPara::handleRef(), DocPara::handleSection(), DocPara::handleStartCode(), DocRoot::parse(), DocText::parse(), DocSection::parse(), DocPara::parse(), DocParamList::parse(), DocTitle::parse(), DocHtmlList::parse(), DocHtmlDescList::parse(), DocHtmlDescTitle::parse(), DocHtmlTable::parse(), DocHtmlRow::parse(), DocHtmlCaption::parse(), DocIndexEntry::parse(), DocInternal::parse(), DocHRef::parse(), DocHtmlHeader::parse(), DocImage::parse(), DocDotFile::parse(), DocLink::parse(), DocRef::parse(), DocInternalRef::parse(), DocSecRefList::parse(), DocSecRefItem::parse(), DocCopy::parse(), DocParamList::parseXml(), DocHtmlList::parseXml(), DocHtmlRow::parseXml(), validatingParseDoc(), and validatingParseText().

FILE * doctokenizerYYout = (FILE *) 0

Definition at line 356 of file doctokenizer.cpp.

Referenced by doctokenizerYYget_out(), and doctokenizerYYset_out().

FILE * doctokenizerYYout

Definition at line 356 of file doctokenizer.cpp.

Referenced by doctokenizerYYget_out(), and doctokenizerYYset_out().

char* doctokenizerYYtext

Definition at line 5821 of file doctokenizer.cpp.

char* doctokenizerYYtext

Definition at line 5821 of file doctokenizer.cpp.

TokenInfo* g_token = 0

Definition at line 5863 of file doctokenizer.cpp.

Referenced by doctokenizerYYpushContext(), doctokenizerYYsetStateCode(), doctokenizerYYsetStateDot(), doctokenizerYYsetStateHtmlOnly(), doctokenizerYYsetStateLatexOnly(), doctokenizerYYsetStateManOnly(), doctokenizerYYsetStateMsc(), doctokenizerYYsetStateVerbatim(), doctokenizerYYsetStateXmlCode(), doctokenizerYYsetStateXmlOnly(), DocPara::handleCommand(), DocPara::handleDotFile(), DocPara::handleHtmlStartTag(), DocPara::handleImage(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), DocPara::handleLink(), DocPara::handleRef(), DocPara::handleSection(), DocPara::handleStartCode(), DocPara::handleXRefItem(), DocPara::injectToken(), DocRoot::parse(), DocText::parse(), DocSection::parse(), DocPara::parse(), DocParamList::parse(), DocTitle::parse(), DocAutoList::parse(), DocHtmlList::parse(), DocHtmlDescList::parse(), DocHtmlDescData::parse(), DocHtmlDescTitle::parse(), DocHtmlTable::parse(), DocHtmlRow::parse(), DocHtmlCell::parse(), DocHtmlCaption::parse(), DocIndexEntry::parse(), DocInternal::parse(), DocHRef::parse(), DocHtmlHeader::parse(), DocImage::parse(), DocDotFile::parse(), DocLink::parse(), DocRef::parse(), DocInternalRef::parse(), DocSecRefList::parse(), DocSecRefItem::parse(), DocSimpleSect::parseRcs(), DocParamList::parseXml(), DocHtmlList::parseXml(), DocHtmlTable::parseXml(), DocHtmlRow::parseXml(), and DocHtmlCell::parseXml().



Generated on Mon Mar 31 10:58:52 2008 by  doxygen 1.5.1