My Project
|
#include <docparser.h>
Public Member Functions | |
DocText () | |
Kind | kind () const |
void | accept (DocVisitor *v) |
void | parse () |
bool | isEmpty () const |
Public Member Functions inherited from CompAccept< DocText > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocText *obj, DocVisitor *v) |
const QList< DocNode > & | children () const |
QList< DocNode > & | children () |
Public Member Functions inherited from DocNode | |
DocNode () | |
virtual | ~DocNode () |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
bool | isPreformatted () const |
Root node of a text fragment
Definition at line 1389 of file docparser.h.
|
inline |
Definition at line 1392 of file docparser.h.
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 1394 of file docparser.h.
References CompAccept< T >::accept().
Referenced by validatingParseText().
|
inline |
Definition at line 1396 of file docparser.h.
References CompAccept< DocText >::m_children.
Referenced by OutputList::parseText().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1393 of file docparser.h.
References DocNode::Kind_Text.
void DocText::parse | ( | ) |
Definition at line 6840 of file docparser.cpp.
References TokenInfo::chars, CMD_AMP, CMD_AT, CMD_BSLASH, CMD_DCOLON, CMD_DOLLAR, CMD_GREATER, CMD_HASH, CMD_LESS, CMD_MDASH, CMD_MINUS, CMD_NDASH, CMD_PERCENT, CMD_PLUS, CMD_PUNT, CMD_QUOTE, Mappers::cmdMapper, DBG, DocSymbol::decodeSymbol(), doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYsetStateText(), g_fileName, g_nodeStack, g_token, handleUnclosedStyleCommands(), CompAccept< DocText >::m_children, TokenInfo::name, DocSymbol::Sym_Amp, DocSymbol::Sym_At, DocSymbol::Sym_BSlash, DocSymbol::Sym_Dollar, DocSymbol::Sym_Dot, DocSymbol::Sym_DoubleColon, DocSymbol::Sym_Greater, DocSymbol::Sym_Hash, DocSymbol::Sym_Less, DocSymbol::Sym_Minus, DocSymbol::Sym_Percent, DocSymbol::Sym_Plus, DocSymbol::Sym_Quot, DocSymbol::Sym_Unknown, TK_COMMAND, TK_SYMBOL, TK_WHITESPACE, TK_WORD, tokToString(), and warn_doc_error().
Referenced by validatingParseText().