Go to the documentation of this file.
29 Parser::operator bool()
const
31 return m_pScanner.get() && !m_pScanner->empty();
71 bool readDirective =
false;
94 if(token.
value ==
"YAML")
96 else if(token.
value ==
"TAG")
104 if(token.
params.size() != 1)
110 std::stringstream str(token.
params[0]);
114 if(!str || str.peek() != EOF)
128 if(token.
params.size() != 2)
void Load(std::istream &in)
const char *const REPEATED_YAML_DIRECTIVE
void HandleDirective(const Token &token)
std::vector< std::string > params
const char *const YAML_DIRECTIVE_ARGS
void HandleYamlDirective(const Token &token)
bool GetNextDocument(Node &document)
const char *const TAG_DIRECTIVE_ARGS
void HandleDocument(EventHandler &eventHandler)
const char *const REPEATED_TAG_DIRECTIVE
const char *const YAML_VERSION
void HandleTagDirective(const Token &token)
std::auto_ptr< Scanner > m_pScanner
std::auto_ptr< Directives > m_pDirectives
const char *const YAML_MAJOR_VERSION
void PrintTokens(std::ostream &out)
bool HandleNextDocument(EventHandler &eventHandler)
mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:40