#include <Parser.hh>
Public Types | |
enum | Type { eDecl, eSpecial, eTag, eString } |
Public Member Functions | |
Node (void) | |
~Node (void) | |
Node * | getFirstChild () const |
Node * | getNextSibling () const |
std::string | getTagAttribute (const std::string &inName) const |
const std::string & | getTagName () const |
Type | getType () const |
std::string | getValue () const |
void | serialize (Streamer &outStream, bool inIndent=true) const |
Protected Member Functions | |
void | parseAttributeList (Tokenizer &inTokenizer, std::string &outToken) |
void | parseStartTag (Tokenizer &inTokenizer, std::string &outToken) |
void | throwError (Tokenizer &inTokenizer, const std::string &inMessage) const |
Static Protected Member Functions | |
Node * | parse (Tokenizer &inTokenizer) |
Protected Attributes | |
Type | mType |
std::string | mValue |
std::map< std::string, std::string > | mAttributes |
Node * | mChild |
Node * | mSibling |
Friends | |
class | Parser |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|