11 : INPUT(in), m_startedStream(false), m_endedStream(false), m_simpleKeyAllowed(false), m_canBeJSONFlow(false)
45 static Token *pLast = 0;
47 std::cerr <<
"peek: " <<
m_tokens.front() <<
"\n";
271 throw std::runtime_error(
"yaml-cpp: internal error, invalid indent type");
284 std::auto_ptr<IndentMarker> pIndent(
new IndentMarker(column, type));
const RegEx & BlockEntry()
std::queue< Token > m_tokens
std::stack< IndentMarker * > m_indents
IndentMarker * PushIndentTo(int column, IndentMarker::INDENT_TYPE type)
Token::TYPE GetStartTokenFor(IndentMarker::INDENT_TYPE type) const
const RegEx & GetValueRegex() const
void EnsureTokensInQueue()
bool InBlockContext() const
const char *const UNKNOWN_TOKEN
bool IsWhitespaceToBeEaten(char ch)
const RegEx & KeyInFlow()
void InvalidateSimpleKey()
const RegEx & ValueInJSONFlow()
const RegEx & PlainScalarInFlow()
ptr_vector< IndentMarker > m_indentRefs
bool InFlowContext() const
int Match(const std::string &str) const
const RegEx & PlainScalar()
Scanner(std::istream &in)
void ThrowParserException(const std::string &msg) const
Token * PushToken(Token::TYPE type)
bool Matches(char ch) const
const RegEx & ValueInFlow()