diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-11-28 20:38:57 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-11-28 20:38:57 (GMT) |
commit | 449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d (patch) | |
tree | 229ba1f0bd2e721f4cc81307b63d8c79051d1bc4 /src/docparser.h | |
parent | b20ff12b9d8fa90143628233319beec2c20266d7 (diff) | |
download | Doxygen-449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d.zip Doxygen-449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d.tar.gz Doxygen-449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d.tar.bz2 |
Release-1.3-rc1-20021128
Diffstat (limited to 'src/docparser.h')
-rw-r--r-- | src/docparser.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/docparser.h b/src/docparser.h index 346623e..d7788db 100644 --- a/src/docparser.h +++ b/src/docparser.h @@ -30,6 +30,9 @@ class DocNode; class MemberDef; +class PageInfo; +class Definition; +class MemberGroup; //--------------------------------------------------------------------------- @@ -55,6 +58,9 @@ DocNode *validatingParseDoc(const char *fileName,int startLine, */ DocNode *validatingParseText(const char *input); +/*! Searches for section and anchor commands in the input */ +void docFindSections(const char *input,PageInfo *pi,Definition *d,MemberGroup *m); + //--------------------------------------------------------------------------- /*! @brief Abstract node interface with type information. */ @@ -200,16 +206,18 @@ class DocLinkedWord : public DocNode class DocURL : public DocNode { public: - DocURL(DocNode *parent,const QString &url) : - m_parent(parent), m_url(url) {} + DocURL(DocNode *parent,const QString &url,bool isEmail) : + m_parent(parent), m_url(url), m_isEmail(isEmail) {} QString url() const { return m_url; } Kind kind() const { return Kind_URL; } DocNode *parent() const { return m_parent; } void accept(DocVisitor *v) { v->visit(this); } + bool isEmail() const { return m_isEmail; } private: DocNode *m_parent; QString m_url; + bool m_isEmail; }; /*! @brief Node representing a line break */ @@ -912,6 +920,7 @@ class DocPara : public CompAccept<DocPara>, public DocNode void handleInclude(const QString &cmdName,DocInclude::Type t); void handleLink(const QString &cmdName,bool isJavaLink); void handleRef(const QString &cmdName); + void handleSection(const QString &cmdName); int handleLanguageSwitch(); private: |