![]() |
Home | Libraries | People | FAQ | More |
The character based token definitions described in this section are:
The char_
creates token
definitions matching single characters. The char_
token definition is associated standard
encoding namespace. This is needed when doing basic operations such as
forcing lower or upper case and dealing with character ranges.
// forwards to <boost/spirit/home/lex/lexer/char_token_def.hpp> #include <boost/spirit/include/lex_char_token_def.hpp>
Also, see Include Structure.
Name |
---|
|
Notation
ch
Character-class specific character from standard
character set.
Semantics of an expression is defined only where it differs from, or
is not defined in PrimitiveLexer
.
Expression |
Description |
---|---|
|
Create a token definition matching the character literal |
|
Create a token definition matching the character |