7 #ifndef MASTER_LEXER_STATE_H 8 #define MASTER_LEXER_STATE_H 1 12 #include <boost/function.hpp> 17 namespace master_lexer_internal {
129 return (lexer.impl_);
136 #endif // MASTER_LEXER_STATE_H
Just seen a carriage-return character.
virtual void handle(MasterLexer &lexer) const =0
Handle the process of one specific state.
static const State * start(MasterLexer &lexer, MasterLexer::Options options)
Begin state transitions to get the next token.
Defines the logger used by the top-level component of kea-dhcp-ddns.
bool wasLastEOL(const MasterLexer &lexer) const
Handling a quoted string token.
const MasterToken & getToken(const MasterLexer &lexer) const
virtual ~State()
Virtual destructor.
Options
Options for getNextToken.
Tokenization state for MasterLexer.
static const State & getInstance(ID state_id)
Returns a State instance of the given state.
Tokenizer for parsing DNS master files.
MasterLexer::MasterLexerImpl * getLexerImpl(MasterLexer &lexer) const
An accessor to the internal implementation class of MasterLexer.
size_t getParenCount(const MasterLexer &lexer) const