 |
Kea
1.5.0
|
Go to the documentation of this file.
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
static const State * start(MasterLexer &lexer, MasterLexer::Options options)
Begin state transitions to get the next token.
bool wasLastEOL(const MasterLexer &lexer) const
Tokenizer for parsing DNS master files.
virtual ~State()
Virtual destructor.
const MasterToken & getToken(const MasterLexer &lexer) const
MasterLexer::MasterLexerImpl * getLexerImpl(MasterLexer &lexer) const
An accessor to the internal implementation class of MasterLexer.
@ QString
Handling a quoted string token.
static const State & getInstance(ID state_id)
Returns a State instance of the given state.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Tokenization state for MasterLexer.
@ CRLF
Just seen a carriage-return character.
size_t getParenCount(const MasterLexer &lexer) const
@ Number
Handling a number.
@ String
Handling a string token.
virtual void handle(MasterLexer &lexer) const =0
Handle the process of one specific state.
Options
Options for getNextToken.