Null parsers |
end_p |
Matches EOF |
iter,iter |
eps_p
eps_p(P) |
Matches without consuming text |
iter,iter |
epsilon_p
epsilon_p(P) |
Synonym for eps_p |
iter,iter |
nothing_p |
Always fails |
iter,iter |
Character parsers |
alnum_p |
Matches any alphanumeric character |
char |
alpha_p |
Matches any letter |
char |
anychar_p |
Matches any character |
char |
blank_p |
Matches a space or tab |
char |
ch_p(char) |
Matches a character |
char |
chset_p(charset) |
Matches a character in the set |
char |
cntrl_p |
Matches any control character |
char |
digit_p |
Matches any digit |
char |
f_ch_p(func) |
Matches a character |
char |
f_range_p(func1,
func2) |
Matches any character in the inclusive range |
char |
graph_p |
Matches any non-space printable character |
char |
lower_p |
Matches any lower-case letter |
char |
print_p |
Matches any printable character |
char |
punct_p |
Matches any punctuation mark |
char |
range_p(char1,
char2) |
Matches any character in the inclusive range |
char |
sign_p |
Matches a plus or minus sign |
bool |
space_p |
Matches any whitespace character |
char |
upper_p |
Matches any upper-case letter |
char |
xdigit_p |
Matches any hexadecimal digit |
char |
Number parsers |
bin_p |
Matches an unsigned binary integer |
numeric |
hex_p |
Matches an unsigned hexadecimal integer |
numeric |
int_p |
Matches a signed decimal integer |
numeric |
int_parser<type,
base, min, max> |
Matches a signed integer with min to max digits |
numeric |
oct_p |
Matches an unsigned octal integer |
numeric |
real_p |
Matches a floating point number |
numeric |
real_parser<type,
policy> |
Matches a floating point number |
numeric |
strict_real_p |
Matches a floating point number (requires decimal point) |
numeric |
strict_ureal_p |
Matches an unsigned FP number (requires decimal point) |
numeric |
uint_p |
Matches an unsigned decimal integer |
numeric |
uint_parser<type,
base, min, max> |
Matches an unsigned integer with min to max digits |
numeric |
ureal_p |
Matches an unsigned FP number |
numeric |
Other lexeme parsers |
c_escape_ch_p |
Matches a C escape code |
char |
comment_p(string)
comment_p (string1, string2) |
Matches C++ or C-style comments |
iter,iter |
eol_p |
Matches CR, LF, or any combination |
iter,iter |
f_str_p(func1,
func2) |
Matches a string |
iter,iter |
lex_escape_ch_p |
Matches a C escape code or any backslash escape |
char |
regex_p(regex) |
Matches a regular expression |
iter,iter |
str_p(string)
str_p(iter1, iter2) |
Matches a string |
iter,iter |
Text parsers |
chseq_p(string)
chseq_p(iter1, iter2) |
Matches a string, possibly with embedded whitespace |
iter,iter |
f_chseq_p(func1,
func2) |
Matches a string, possibly with embedded whitespace |
iter,iter |