1 #ifndef SCANNER_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 2 #define SCANNER_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 131 #endif // SCANNER_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
std::queue< Token > m_tokens
std::stack< IndentMarker * > m_indents
bool ExistsActiveSimpleKey() const
IndentMarker * PushIndentTo(int column, IndentMarker::INDENT_TYPE type)
Token::TYPE GetStartTokenFor(IndentMarker::INDENT_TYPE type) const
std::stack< FLOW_MARKER > m_flows
const RegEx & GetValueRegex() const
void EnsureTokensInQueue()
bool InBlockContext() const
bool IsWhitespaceToBeEaten(char ch)
void InvalidateSimpleKey()
ptr_vector< IndentMarker > m_indentRefs
bool InFlowContext() const
Scanner(std::istream &in)
void InsertPotentialSimpleKey()
void ThrowParserException(const std::string &msg) const
bool CanInsertPotentialSimpleKey() const
std::stack< SimpleKey > m_simpleKeys
Token * PushToken(Token::TYPE type)
IndentMarker(int column_, INDENT_TYPE type_)