My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Enumerations | Functions | Variables
doctokenizer.h File Reference
#include <qcstring.h>
#include <qlist.h>
#include <stdio.h>
#include "htmlattrib.h"

Go to the source code of this file.

Classes

struct  TokenInfo
 Data associated with a token used by the comment block parser. More...
 

Enumerations

enum  Tokens {
  TK_WORD = 1, TK_LNKWORD = 2, TK_WHITESPACE = 3, TK_LISTITEM = 4,
  TK_ENDLIST = 5, TK_COMMAND = 6, TK_HTMLTAG = 7, TK_SYMBOL = 8,
  TK_NEWPARA = 9, TK_RCSTAG = 10, TK_URL = 11, RetVal_OK = 0x10000,
  RetVal_SimpleSec = 0x10001, RetVal_ListItem = 0x10002, RetVal_Section = 0x10003, RetVal_Subsection = 0x10004,
  RetVal_Subsubsection = 0x10005, RetVal_Paragraph = 0x10006, RetVal_SubParagraph = 0x10007, RetVal_EndList = 0x10008,
  RetVal_EndPre = 0x10009, RetVal_DescData = 0x1000A, RetVal_DescTitle = 0x1000B, RetVal_EndDesc = 0x1000C,
  RetVal_TableRow = 0x1000D, RetVal_TableCell = 0x1000E, RetVal_TableHCell = 0x1000F, RetVal_EndTable = 0x10010,
  RetVal_Internal = 0x10011, RetVal_SwitchLang = 0x10012, RetVal_CloseXml = 0x10013, RetVal_EndBlockQuote = 0x10014,
  RetVal_CopyDoc = 0x10015, RetVal_EndInternal = 0x10016, RetVal_EndParBlock = 0x10017
}
 

Functions

const char * tokToString (int token)
 
void doctokenizerYYFindSections (const char *input, Definition *d, MemberGroup *mg, const char *fileName)
 
void doctokenizerYYinit (const char *input, const char *fileName)
 
void doctokenizerYYcleanup ()
 
void doctokenizerYYpushContext ()
 
bool doctokenizerYYpopContext ()
 
int doctokenizerYYlex ()
 
void doctokenizerYYsetStatePara ()
 
void doctokenizerYYsetStateTitle ()
 
void doctokenizerYYsetStateTitleAttrValue ()
 
void doctokenizerYYsetStateCode ()
 
void doctokenizerYYsetStateXmlCode ()
 
void doctokenizerYYsetStateHtmlOnly ()
 
void doctokenizerYYsetStateManOnly ()
 
void doctokenizerYYsetStateLatexOnly ()
 
void doctokenizerYYsetStateXmlOnly ()
 
void doctokenizerYYsetStateDbOnly ()
 
void doctokenizerYYsetStateRtfOnly ()
 
void doctokenizerYYsetStateVerbatim ()
 
void doctokenizerYYsetStateDot ()
 
void doctokenizerYYsetStateMsc ()
 
void doctokenizerYYsetStateParam ()
 
void doctokenizerYYsetStateXRefItem ()
 
void doctokenizerYYsetStateFile ()
 
void doctokenizerYYsetStatePattern ()
 
void doctokenizerYYsetStateLink ()
 
void doctokenizerYYsetStateCite ()
 
void doctokenizerYYsetStateRef ()
 
void doctokenizerYYsetStateInternalRef ()
 
void doctokenizerYYsetStateText ()
 
void doctokenizerYYsetStateSkipTitle ()
 
void doctokenizerYYsetStateAnchor ()
 
void doctokenizerYYsetInsidePre (bool b)
 
void doctokenizerYYpushBackHtmlTag (const char *tag)
 
void doctokenizerYYsetStateSnippet ()
 
void doctokenizerYYstartAutoList ()
 
void doctokenizerYYendAutoList ()
 
void doctokenizerYYsetStatePlantUML ()
 
void doctokenizerYYsetStateSetScope ()
 
void doctokenizerYYsetStatePlantUMLOpt ()
 

Variables

TokenInfog_token
 
int doctokenizerYYlineno
 
FILE * doctokenizerYYin
 

Enumeration Type Documentation

enum Tokens
Enumerator
TK_WORD 
TK_LNKWORD 
TK_WHITESPACE 
TK_LISTITEM 
TK_ENDLIST 
TK_COMMAND 
TK_HTMLTAG 
TK_SYMBOL 
TK_NEWPARA 
TK_RCSTAG 
TK_URL 
RetVal_OK 
RetVal_SimpleSec 
RetVal_ListItem 
RetVal_Section 
RetVal_Subsection 
RetVal_Subsubsection 
RetVal_Paragraph 
RetVal_SubParagraph 
RetVal_EndList 
RetVal_EndPre 
RetVal_DescData 
RetVal_DescTitle 
RetVal_EndDesc 
RetVal_TableRow 
RetVal_TableCell 
RetVal_TableHCell 
RetVal_EndTable 
RetVal_Internal 
RetVal_SwitchLang 
RetVal_CloseXml 
RetVal_EndBlockQuote 
RetVal_CopyDoc 
RetVal_EndInternal 
RetVal_EndParBlock 

Definition at line 30 of file doctokenizer.h.

{
TK_WORD = 1,
TK_SYMBOL = 8,
TK_RCSTAG = 10,
TK_URL = 11,
RetVal_OK = 0x10000,
RetVal_SimpleSec = 0x10001,
RetVal_ListItem = 0x10002,
RetVal_Section = 0x10003,
RetVal_Subsection = 0x10004,
RetVal_Paragraph = 0x10006,
RetVal_EndList = 0x10008,
RetVal_EndPre = 0x10009,
RetVal_DescData = 0x1000A,
RetVal_DescTitle = 0x1000B,
RetVal_EndDesc = 0x1000C,
RetVal_TableRow = 0x1000D,
RetVal_TableCell = 0x1000E,
RetVal_TableHCell = 0x1000F,
RetVal_EndTable = 0x10010,
RetVal_Internal = 0x10011,
RetVal_SwitchLang = 0x10012,
RetVal_CloseXml = 0x10013,
RetVal_CopyDoc = 0x10015,
RetVal_EndInternal = 0x10016,
};

Function Documentation

void doctokenizerYYcleanup ( )
void doctokenizerYYendAutoList ( )

Referenced by DocAutoList::parse().

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

Referenced by docFindSections().

void doctokenizerYYinit ( const char *  input,
const char *  fileName 
)
int doctokenizerYYlex ( )
bool doctokenizerYYpopContext ( )

Referenced by docParserPopContext().

void doctokenizerYYpushBackHtmlTag ( const char *  tag)
void doctokenizerYYpushContext ( )

Referenced by docParserPushContext().

void doctokenizerYYsetInsidePre ( bool  b)
void doctokenizerYYsetStateAnchor ( )

Referenced by handleAnchor().

void doctokenizerYYsetStateCite ( )

Referenced by DocPara::handleCite().

void doctokenizerYYsetStateCode ( )

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateDbOnly ( )
void doctokenizerYYsetStateDot ( )

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateFile ( )
void doctokenizerYYsetStateHtmlOnly ( )
void doctokenizerYYsetStateInternalRef ( )

Referenced by handleInternalRef().

void doctokenizerYYsetStateLatexOnly ( )
void doctokenizerYYsetStateLink ( )
void doctokenizerYYsetStateManOnly ( )
void doctokenizerYYsetStateMsc ( )

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStatePara ( )
void doctokenizerYYsetStateParam ( )

Referenced by DocParamList::parse().

void doctokenizerYYsetStatePattern ( )
void doctokenizerYYsetStatePlantUML ( )

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStatePlantUMLOpt ( )

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateRef ( )
void doctokenizerYYsetStateRtfOnly ( )
void doctokenizerYYsetStateSetScope ( )

Referenced by defaultHandleToken().

void doctokenizerYYsetStateSkipTitle ( )

Referenced by DocPara::handleSection().

void doctokenizerYYsetStateSnippet ( )

Referenced by DocPara::handleInclude().

void doctokenizerYYsetStateText ( )

Referenced by DocText::parse().

void doctokenizerYYsetStateTitle ( )
void doctokenizerYYsetStateTitleAttrValue ( )
void doctokenizerYYsetStateVerbatim ( )

Referenced by DocPara::handleCommand().

void doctokenizerYYsetStateXmlCode ( )
void doctokenizerYYsetStateXmlOnly ( )
void doctokenizerYYsetStateXRefItem ( )

Referenced by DocPara::handleXRefItem().

void doctokenizerYYstartAutoList ( )

Referenced by DocAutoList::parse().

const char* tokToString ( int  token)

Variable Documentation

FILE* doctokenizerYYin
int doctokenizerYYlineno

Referenced by defaultHandleTitleAndSize(), defaultHandleToken(), detectNoDocumentedParams(), DocAnchor::DocAnchor(), DocCite::DocCite(), DocFormula::DocFormula(), DocHtmlCaption::DocHtmlCaption(), DocLink::DocLink(), docParserPopContext(), docParserPushContext(), DocRef::DocRef(), findAndCopyImage(), handleAHref(), handleAnchor(), DocPara::handleCite(), DocPara::handleCommand(), DocPara::handleFile(), DocPara::handleHtmlEndTag(), DocPara::handleHtmlStartTag(), DocPara::handleImage(), handleImg(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), handleInternalRef(), DocPara::handleLink(), handleLinkedWord(), DocPara::handleRef(), DocPara::handleSection(), DocPara::handleStartCode(), handleStyleArgument(), handleStyleLeave(), handleUnclosedStyleCommands(), DocInclude::parse(), DocIndexEntry::parse(), DocCopy::parse(), DocTitle::parse(), DocDotFile::parse(), DocMscFile::parse(), DocDiaFile::parse(), DocVhdlFlow::parse(), DocLink::parse(), DocRef::parse(), DocInternalRef::parse(), DocHRef::parse(), DocHtmlHeader::parse(), DocHtmlDescTitle::parse(), DocHtmlDescList::parse(), DocSection::parse(), DocSecRefItem::parse(), DocSecRefList::parse(), DocInternal::parse(), DocHtmlList::parse(), DocPara::parse(), DocParamList::parse(), DocHtmlCaption::parse(), DocHtmlRow::parse(), DocHtmlTable::parse(), DocText::parse(), DocRoot::parse(), DocHtmlList::parseXml(), DocParamList::parseXml(), DocHtmlRow::parseXml(), processCopyDoc(), readTextFileByName(), validatingParseDoc(), and validatingParseText().

TokenInfo* g_token