7 #ifndef MASTER_LEXER_STATE_H
8 #define MASTER_LEXER_STATE_H 1
15 namespace master_lexer_internal {
127 return (lexer.impl_);
134 #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.
bool wasLastEOL(const MasterLexer &lexer) const
size_t getParenCount(const MasterLexer &lexer) const
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.
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.