summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-11-28 20:38:57 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-11-28 20:38:57 (GMT)
commitf3e7209fed9703e8be668753d1083ba335121a6e (patch)
tree229ba1f0bd2e721f4cc81307b63d8c79051d1bc4 /src/doctokenizer.h
parente952dab58265a6f21867e51f72d7d81ffe39e082 (diff)
downloadDoxygen-f3e7209fed9703e8be668753d1083ba335121a6e.zip
Doxygen-f3e7209fed9703e8be668753d1083ba335121a6e.tar.gz
Doxygen-f3e7209fed9703e8be668753d1083ba335121a6e.tar.bz2
Release-1.3-rc1-20021128
Diffstat (limited to 'src/doctokenizer.h')
-rw-r--r--src/doctokenizer.h44
1 files changed, 29 insertions, 15 deletions
diff --git a/src/doctokenizer.h b/src/doctokenizer.h
index cb0a823..74077f4 100644
--- a/src/doctokenizer.h
+++ b/src/doctokenizer.h
@@ -23,6 +23,10 @@
#include <qlist.h>
#include "htmlattrib.h"
+class Definition;
+class PageInfo;
+class MemberGroup;
+
enum Tokens
{
TK_WORD = 1,
@@ -37,21 +41,24 @@ enum Tokens
TK_RCSTAG = 10,
TK_URL = 11,
- RetVal_OK = 0x10000,
- RetVal_SimpleSec = 0x10001,
- RetVal_ListItem = 0x10002,
- RetVal_Section = 0x10003,
- RetVal_EndList = 0x10004,
- RetVal_EndPre = 0x10005,
- RetVal_DescData = 0x10006,
- RetVal_DescTitle = 0x10007,
- RetVal_EndDesc = 0x10008,
- RetVal_TableRow = 0x10009,
- RetVal_TableCell = 0x1000A,
- RetVal_TableHCell = 0x1000B,
- RetVal_EndTable = 0x1000C,
- RetVal_Internal = 0x1000D,
- RetVal_SwitchLang = 0x1000E
+ RetVal_OK = 0x10000,
+ RetVal_SimpleSec = 0x10001,
+ RetVal_ListItem = 0x10002,
+ RetVal_Section = 0x10003,
+ RetVal_Subsection = 0x10004,
+ RetVal_Subsubsection = 0x10005,
+ RetVal_Paragraph = 0x10006,
+ RetVal_EndList = 0x10007,
+ RetVal_EndPre = 0x10008,
+ RetVal_DescData = 0x10009,
+ RetVal_DescTitle = 0x1000A,
+ RetVal_EndDesc = 0x1000B,
+ RetVal_TableRow = 0x1000C,
+ RetVal_TableCell = 0x1000D,
+ RetVal_TableHCell = 0x1000E,
+ RetVal_EndTable = 0x1000F,
+ RetVal_Internal = 0x10010,
+ RetVal_SwitchLang = 0x10011
};
struct TokenInfo
@@ -89,6 +96,9 @@ struct TokenInfo
// whitespace
QString chars;
+
+ // url
+ bool isEMailAddr;
};
// globals
@@ -100,6 +110,8 @@ extern FILE *doctokenizerYYin;
const char *tokToString(int token);
// operations on the scanner
+void doctokenizerYYFindSections(const char *input,PageInfo *pi,Definition *d,
+ MemberGroup *mg);
void doctokenizerYYinit(const char *input,const char *fileName);
void doctokenizerYYcleanup();
void doctokenizerYYpushContext();
@@ -119,5 +131,7 @@ void doctokenizerYYsetStateLink();
void doctokenizerYYsetStateRef();
void doctokenizerYYsetStateInternalRef();
void doctokenizerYYsetStateText();
+void doctokenizerYYsetStateSkipTitle();
+void doctokenizerYYsetInsidePre(bool b);
#endif