Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
ebea1d79
Commit
ebea1d79
authored
Nov 28, 2012
by
JINMEI Tatuya
Browse files
[2506] updated part of lexer state doc to match the latest changes.
parent
610720a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/master_lexer_state.h
View file @
ebea1d79
...
...
@@ -43,10 +43,10 @@ namespace master_lexer_internal {
/// state, so it makes more sense to separate the interface for the transition
/// from the initial state.
///
///
When an object of a specific state class completes the session, it
///
normally sets the
identified token
in the lexer,
and returns NULL;
///
if more transition is necessary, it returns a pointer to the next state
/// o
bject
.
///
If the whole lexer transition is completed within start(), it sets the
/// identified token and returns NULL;
otherwise it returns a pointer to
///
an object of a specific state class that completes the session
/// o
n the call of handle()
.
///
/// As is usual in the state design pattern, the \c State class is made
/// a friend class of \c MasterLexer and can refer to its internal details.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment