Doxygen
|
Node representing a Html list. More...
#include <src/docnode.h>
Public Types | |
enum | Type { Unordered , Ordered } |
Public Member Functions | |
DocHtmlList (DocParser *parser, DocNodeVariant *parent, const HtmlAttribList &attribs, Type t) | |
Type | type () const |
const HtmlAttribList & | attribs () const |
Token | parse () |
Token | parseXml () |
Public Member Functions inherited from DocCompoundNode | |
DocCompoundNode (DocParser *parser, DocNodeVariant *parent) | |
DocNodeList & | children () |
const DocNodeList & | children () const |
Public Member Functions inherited from DocNode | |
DocNode (DocParser *parser, DocNodeVariant *parent) | |
~DocNode ()=default | |
DocNodeVariant * | parent () |
const DocNodeVariant * | parent () const |
DocNodeVariant * | thisVariant () |
const DocNodeVariant * | thisVariant () const |
void | setThisVariant (DocNodeVariant *thisVariant) |
DocParser * | parser () |
const DocParser * | parser () const |
void | setParent (DocNodeVariant *parent) |
bool | isPreformatted () const |
Private Attributes | |
Type | m_type = Unordered |
HtmlAttribList | m_attribs |
Additional Inherited Members | |
Protected Types inherited from DocNode | |
enum | RefType { Unknown , Anchor , Section , Table } |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
enum DocHtmlList::Type |
|
inline |
Definition at line 997 of file docnode.h.
References attribs(), DocCompoundNode::DocCompoundNode(), m_attribs, m_type, DocNode::parent(), and DocNode::parser().
|
inline |
Definition at line 1000 of file docnode.h.
References m_attribs.
Referenced by DocHtmlList(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), PerlModDocVisitor::operator()(), PrintDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
Token DocHtmlList::parse | ( | ) |
Definition at line 2536 of file docnode.cpp.
References DocNodeList::append(), TokenInfo::attribs, AUTO_TRACE, AUTO_TRACE_EXIT, DocCompoundNode::children(), DocParser::context, DocNodeList::get_last(), HTML_LI, HTML_OL, HTML_UL, Mappers::htmlTagMapper, Token::is(), Token::is_any_of(), DocTokenizer::lex(), m_type, Ordered, DocNode::parser(), DocTokenizer::pushBackHtmlTag(), qPrint(), DocNode::thisVariant(), Token::to_string(), DocParserContext::token, DocParser::tokenizer, Unordered, and warn_doc_error.
Token DocHtmlList::parseXml | ( | ) |
Definition at line 2611 of file docnode.cpp.
References DocNodeList::append(), TokenInfo::attribs, AUTO_TRACE, AUTO_TRACE_EXIT, DocCompoundNode::children(), DocParser::context, DocNodeList::get_last(), Mappers::htmlTagMapper, Token::is(), Token::is_any_of(), DocTokenizer::lex(), m_type, DocNode::parser(), DocTokenizer::pushBackHtmlTag(), qPrint(), DocNode::thisVariant(), Token::to_string(), DocParserContext::token, DocParser::tokenizer, Unordered, warn_doc_error, and XML_ITEM.
|
inline |
Definition at line 999 of file docnode.h.
References m_type.
Referenced by DocbookDocVisitor::operator()(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), PerlModDocVisitor::operator()(), PrintDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
private |
Definition at line 1006 of file docnode.h.
Referenced by attribs(), and DocHtmlList().
Definition at line 1005 of file docnode.h.
Referenced by DocHtmlList(), parse(), parseXml(), and type().