Doxygen
|
Root node of a text fragment. More...
#include <src/docnode.h>
Public Member Functions | |
DocText (DocParser *parser) | |
void | parse () |
bool | isEmpty () const |
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 |
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 1286 of file docnode.h.
References DocCompoundNode::DocCompoundNode(), and DocNode::parser().
|
inline |
Definition at line 1288 of file docnode.h.
References DocCompoundNode::children(), and GrowVector< T >::empty().
void DocText::parse | ( | ) |
Definition at line 5926 of file docnode.cpp.
References DocNodeList::append(), AUTO_TRACE, TokenInfo::chars, DocCompoundNode::children(), CMD_AMP, CMD_AT, CMD_BSLASH, CMD_DCOLON, CMD_DOLLAR, CMD_EQUAL, CMD_GREATER, CMD_HASH, CMD_LESS, CMD_MDASH, CMD_MINUS, CMD_NDASH, CMD_PERCENT, CMD_PLUS, CMD_PUNT, CMD_QUOTE, Mappers::cmdMapper, DocParser::context, DocSymbol::decodeSymbol(), DocParser::handleUnclosedStyleCommands(), Token::is_any_of(), DocTokenizer::lex(), TokenInfo::name, DocNode::parser(), qPrint(), DocTokenizer::setStateText(), HtmlEntityMapper::Sym_Amp, HtmlEntityMapper::Sym_At, HtmlEntityMapper::Sym_BSlash, HtmlEntityMapper::Sym_Dollar, HtmlEntityMapper::Sym_Dot, HtmlEntityMapper::Sym_DoubleColon, HtmlEntityMapper::Sym_Equal, HtmlEntityMapper::Sym_Greater, HtmlEntityMapper::Sym_Hash, HtmlEntityMapper::Sym_Less, HtmlEntityMapper::Sym_Minus, HtmlEntityMapper::Sym_Percent, HtmlEntityMapper::Sym_Plus, HtmlEntityMapper::Sym_Quot, HtmlEntityMapper::Sym_Unknown, DocNode::thisVariant(), Token::to_string(), DocParserContext::token, DocParser::tokenizer, Token::value(), and warn_doc_error.