diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-25 09:10:03 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-25 09:10:03 (GMT) |
commit | ceed76634417c6d9db398a4297b361af97f27594 (patch) | |
tree | c12d6f4b08a39fbb0e5310596f509e200ef7bea9 /src/docparser.h | |
parent | 6040558a607bfb7c22931d84637b430153e76188 (diff) | |
parent | 80f1f380f199f470ef9678a413d537feba68d87a (diff) | |
download | Doxygen-ceed76634417c6d9db398a4297b361af97f27594.zip Doxygen-ceed76634417c6d9db398a4297b361af97f27594.tar.gz Doxygen-ceed76634417c6d9db398a4297b361af97f27594.tar.bz2 |
Merge branch 'feature/bug_style_change' of https://github.com/albert-github/doxygen into albert-github-feature/bug_style_change
Diffstat (limited to 'src/docparser.h')
-rw-r--r-- | src/docparser.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/docparser.h b/src/docparser.h index 2d53429..9b437e8 100644 --- a/src/docparser.h +++ b/src/docparser.h @@ -388,10 +388,10 @@ class DocStyleChange : public DocNode Ins = (1<<13) }; - DocStyleChange(DocNode *parent,uint position,Style s,bool enable, + DocStyleChange(DocNode *parent,uint position,Style s,QCString tagName,bool enable, const HtmlAttribList *attribs=0) : m_position(position), m_style(s), m_enable(enable) - { m_parent = parent; if (attribs) m_attribs=*attribs; } + { m_parent = parent; if (attribs) m_attribs=*attribs; m_tagName = tagName.lower();} Kind kind() const { return Kind_StyleChange; } Style style() const { return m_style; } const char *styleString() const; @@ -399,12 +399,14 @@ class DocStyleChange : public DocNode uint position() const { return m_position; } void accept(DocVisitor *v) { v->visit(this); } const HtmlAttribList &attribs() const { return m_attribs; } + QCString tagName() const { return m_tagName; } private: uint m_position = 0; Style m_style = Bold; bool m_enable = false; HtmlAttribList m_attribs; + QCString m_tagName; }; /** Node representing a special symbol */ |