DocText Class Reference

Root node of a text fragment. More...

#include <docparser.h>

Inheritance diagram for DocText:

CompAccept< DocText > DocNode List of all members.

Public Member Functions

 DocText ()
Kind kind () const
DocNodeparent () const
void accept (DocVisitor *v)
void parse ()

Detailed Description

Root node of a text fragment.

Definition at line 1217 of file docparser.h.


Constructor & Destructor Documentation

DocText::DocText (  )  [inline]

Definition at line 1220 of file docparser.h.


Member Function Documentation

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.

Parameters:
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().


The documentation for this class was generated from the following files:



Generated on Mon Mar 31 10:58:59 2008 by  doxygen 1.5.1