Public Member Functions | Private Member Functions | Private Attributes
YAML_PM::Parser Class Reference

#include <parser.h>

Inheritance diagram for YAML_PM::Parser:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool GetNextDocument (Node &document)
bool HandleNextDocument (EventHandler &eventHandler)
void Load (std::istream &in)
 operator bool () const
 Parser ()
 Parser (std::istream &in)
void PrintTokens (std::ostream &out)
 ~Parser ()

Private Member Functions

void HandleDirective (const Token &token)
void HandleTagDirective (const Token &token)
void HandleYamlDirective (const Token &token)
void ParseDirectives ()

Private Attributes

std::auto_ptr< Directivesm_pDirectives
std::auto_ptr< Scannerm_pScanner

Detailed Description

Definition at line 23 of file parser.h.


Constructor & Destructor Documentation

Definition at line 16 of file parser.cpp.

YAML_PM::Parser::Parser ( std::istream &  in)

Definition at line 20 of file parser.cpp.

Definition at line 25 of file parser.cpp.


Member Function Documentation

bool YAML_PM::Parser::GetNextDocument ( Node document)

Definition at line 61 of file parser.cpp.

void YAML_PM::Parser::HandleDirective ( const Token token) [private]

Definition at line 92 of file parser.cpp.

Definition at line 44 of file parser.cpp.

void YAML_PM::Parser::HandleTagDirective ( const Token token) [private]

Definition at line 126 of file parser.cpp.

void YAML_PM::Parser::HandleYamlDirective ( const Token token) [private]

Definition at line 102 of file parser.cpp.

void YAML_PM::Parser::Load ( std::istream &  in)

Definition at line 34 of file parser.cpp.

YAML_PM::Parser::operator bool ( ) const

Definition at line 29 of file parser.cpp.

Definition at line 69 of file parser.cpp.

void YAML_PM::Parser::PrintTokens ( std::ostream &  out)

Definition at line 139 of file parser.cpp.


Member Data Documentation

std::auto_ptr<Directives> YAML_PM::Parser::m_pDirectives [private]

Definition at line 47 of file parser.h.

std::auto_ptr<Scanner> YAML_PM::Parser::m_pScanner [private]

Definition at line 46 of file parser.h.


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


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:44