#include <docparser.h>
Inheritance diagram for DocText:
Public Member Functions | |
DocText () | |
Kind | kind () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
void | parse () |
Definition at line 1217 of file docparser.h.
DocText::DocText | ( | ) | [inline] |
Definition at line 1220 of file docparser.h.
Kind DocText::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1221 of file docparser.h.
References DocNode::Kind_Text.
DocNode* DocText::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 1222 of file docparser.h.
void DocText::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 1223 of file docparser.h.
References CompAccept< T >::accept().
Referenced by validatingParseText().
void DocText::parse | ( | ) |
Definition at line 5820 of file docparser.cpp.
References DocSymbol::Amp, DocSymbol::At, DocSymbol::BSlash, TokenInfo::chars, CMD_AMP, CMD_AT, CMD_BSLASH, CMD_DOLLAR, CMD_GREATER, CMD_HASH, CMD_LESS, CMD_PERCENT, Mappers::cmdMapper, DBG, DocSymbol::decodeSymbol(), doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYsetStateText(), DocSymbol::Dollar, g_token, DocSymbol::Greater, DocSymbol::Hash, DocSymbol::Less, CompAccept< DocText >::m_children, TokenInfo::name, DocSymbol::Percent, TK_COMMAND, TK_SYMBOL, TK_WHITESPACE, TK_WORD, tokToString(), DocSymbol::Unknown, and warn_doc_error().
Referenced by validatingParseText().