boost::spirit快速参考
来源:互联网 发布:淘宝诈骗报警能找回 编辑:程序博客网 时间:2024/05/29 12:17
简单C++boost中文手册目录
Quick Reference 快速参考This isn't intended to be a full, detailed reference; nor is it intended to be of any use to readers who aren't already familiar with Spirit. It's just a brief reminder of the syntax and behaviour of each component, with links to the full documentation.
本章的目的不是给出一个完整、详尽的参考手册;也不是给那些对Spirit还不熟悉的读者使用的。它只是对语法及各个组件行为的简要提醒,以及到完整文档的链接。
- Primitive parser generators (action arguments are listed on the right) 基本分析器生成器(动作参数在右侧列出)
- Null parsers 空分析器
- Character parsers 字符分析器
- Number parsers 数字分析器
- Other lexeme parsers 其它词位分析器
- Text parsers 文本分析器
- Other parser elements 其它分析器元素
- Compound parsers 复合分析器
- General directives 通用指示符
- Tree-specific directives 树专用的指示符
- Operators 操作符
- Unary operators 单参操作符
- Binary operators (in order of precedence)二元操作符(按优先级顺序排)
end_p
Matches EOF匹配EOFiter,iter
eps_p
eps_p(P)
Matches without consuming text匹配且不消耗文本iter,iter
epsilon_p
epsilon_p(P)
Synonym for eps_peps_p的同义词iter,iter
nothing_p
Always fails总是匹配失败iter,iterCharacter 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匹配任意十六进制数字charNumber 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匹配 min 至 max 间的有符号整数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 integernumericuint_parser<type, base, min, max>
Matches an unsigned integer with min to max digits匹配 min 至 max 间的无符号整数numeric
ureal_p
Matches an unsigned FP number匹配一个无符号浮点数numericOther lexeme parsers 其它词位分析器
c_escape_ch_p
Matches a C escape code匹配一个C的转义代码char
comment_p(string)
comment_p (string1, string2)
Matches C++ or C-style comments匹配C++或C风格的注释iter,iter
eol_p
Matches CR, LF, or any combination匹配 CR, LF 或其任意组合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匹配一个C的转义代码或任意反斜杠转义char
regex_p(regex)
Matches a regular expression匹配一个正则表达式iter,iter
str_p(string)
str_p(iter1, iter2)
Matches a string匹配一个字符串iter,iterText 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 Compound parsers 复合分析器
confix_p(open, exp, close)
Matches open >> (exp - close) >> close匹配 open >> (exp - close) >> close
do_p[P].while_p(cond)
Matches while a condition is true (at least once)当条件为真时匹配(至少一次)
for_p(init, cond, step)[P]
- boost::spirit快速参考
- boost.spirit -- parser
- boost.spirit -- scanner
- boost.spirit -- directives
- boost.spirit -- rule
- boost.spirit -- grammar
- boost.spirit -- subrules
- boost.spirit -- action
- boost之spirit学习
- boost::spirit 的一些记录
- Boost.Spirit x3学习笔记
- Boost.Spirit.Karma 自定义directive
- boost spirit 解析字符串 (一)
- 用boost::spirit实现的表达式求值
- Boost.Spirit.Qi:玩转Actions
- boost之spirit学习-mini_c(1)
- boost之spirit学习-mini_c(2)
- boost之spirit学习-mini_c(3)
- 学习SAP HANA 数据类型(SAP HANA DATA TYPES)--像学Oracle一样学习SAP HANA
- android应用程序的组成(组织结构)
- SQL Server 2008 (R2) 单机版安装的先决条件
- sort函数 使用于杭电1106
- 盗版软件的另一种理解
- boost::spirit快速参考
- 堆栈浅析(Java&C++)
- CCD和CMOS大小(尺寸)对比图
- 在魔都两年工作小结
- 面试集锦之---Top-K问题(百度面试题)
- 从前的中国没有情人节,却有许多情书。(转载)
- LATTICE FPGA IO 约束设置 初探
- 北漂租房之
- ModelSim破解及使用