Doxygen
|
Node representing a HTML list item. More...
#include <src/docnode.h>
Public Member Functions | |
DocHtmlListItem (DocParser *parser, DocNodeVariant *parent, const HtmlAttribList &attribs, int num) | |
int | itemNumber () 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 | |
HtmlAttribList | m_attribs |
int | m_itemNum = 0 |
Additional Inherited Members | |
Protected Types inherited from DocNode | |
enum | RefType { Unknown , Anchor , Section , Table } |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
|
inline |
Definition at line 1147 of file docnode.h.
References attribs(), DocCompoundNode::DocCompoundNode(), m_attribs, m_itemNum, DocNode::parent(), and DocNode::parser().
|
inline |
Definition at line 1150 of file docnode.h.
References m_attribs.
Referenced by DocHtmlListItem(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), PerlModDocVisitor::operator()(), PrintDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Token DocHtmlListItem::parse | ( | ) |
Definition at line 2477 of file docnode.cpp.
References DocNodeList::append(), AUTO_TRACE, AUTO_TRACE_EXIT, DocCompoundNode::children(), FALSE, DocNodeList::get_last(), Token::is(), DocPara::markFirst(), DocPara::markLast(), DocPara::parse(), DocNode::parser(), DocNode::thisVariant(), Token::to_string(), and TRUE.
Token DocHtmlListItem::parseXml | ( | ) |
Definition at line 2500 of file docnode.cpp.
References DocNodeList::append(), AUTO_TRACE, AUTO_TRACE_EXIT, DocCompoundNode::children(), FALSE, DocNodeList::get_last(), Token::is(), Token::is_any_of(), DocPara::markFirst(), DocPara::markLast(), DocPara::parse(), DocNode::parser(), DocNode::thisVariant(), Token::to_string(), and TRUE.
|
private |
Definition at line 1155 of file docnode.h.
Referenced by attribs(), and DocHtmlListItem().
|
private |
Definition at line 1156 of file docnode.h.
Referenced by DocHtmlListItem(), and itemNumber().