2.5 - [lex.digraph] - 【词法.双连符】
2004-10-30 14:43
267 查看
请不要转载本文;请不要以任何形式重新出版,发布本文;请在下载本文 24 小时内将其删除;禁止将本文用于商业目的。
2 Lexical conventions [lex]2.5 Alternative tokens [lex.digraph] | 2 词法约定 【词法】2.5 候选标记 【词法.双连符】 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Alternative token representations are provided for some operators and punctuators16). | 某些运算符和标点具有候选标记。16) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In all respects of the language, each alternative token behaves the same, respectively, as its primary token, except for its spelling17). The set of alternative tokens is defined in Table 2.
| 在语言中,所有候选标记除了其拼写外,与其首选标记具有相同的行为。17) 表格 2 里定义了候选标记的集合。
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
16) These include "digraphs" and additional reserved words. The term "digraph" (token consisting of two characters) is not perfectly descriptive, since one of the alternative preprocessing-tokens is %:%:and of course several primary tokens contain two characters. Nonetheless, those alternative tokens that aren't lexical keywords are colloquially known as "digraphs". | 16) 包括“双连符”和额外的保留词。术语“双连符”(包含两个字符的标记)的表达效果比较差,因为一个候选预处理标记为 %:%:,并且几个首选标记也有两个字符。 虽然如此,这些不是关键字词汇的候选标记仍被通俗地称为“双连符”。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
17) Thus the "stringized" values (16.3.2) of [and <:will be different, maintaining the source spelling, but the tokens can otherwise be freely interchanged. | 17) 在“字符串化”值中有所不同(16.3.2),其中的 [ 和 <: 将保持源的拼写形式,而标记却可以被自由地互换。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PREV [lex.pptoken] | NEXT [lex.token] | 上一页 【词法.预处理标记】 | 下一页 【词法.标记】 |
相关文章推荐
- WTK2.5增加nokia.zip的路径,解决java.lang.NoClassDefFoundError: com/nokia/mid/ui/FullCanvas
- spring2.5注解介绍之二
- Lex和Yacc从入门到精通(2)--正则表达式篇
- binutils-2.17|gcc-4.1. 1|glibc-2.5 作交叉编译器记录
- Spring2.5中使用方法注入(method inject)之基本方法替代(basis method replacement)
- JPA和Spring2.5集成配置
- spring2.5 及 hibernate annotation 配置文件笔记
- Python2.5/2.6实用教程 入门基础篇
- Hibernate 3.2.6 相关资源介绍,附参考手册下载[含Spring2.5]
- Spring2.5 注解 Aspect AOP (转)
- lex&yacc
- C语言中双字符组(digraph)和三字符组(trigraph)的使用注意事项
- 例子2.3,2.4,2.5
- RHCE学习笔记:RH133 2.5-设定网络(2)
- 编程之美读书笔记_2.5 寻找最大的K个数
- (1)spring2.5 入门理解
- 使用 Spring 2.5 基于注解驱动的 Spring MVC
- spring2.5转到spring3.0找不到bean的解决办法
- 使用 Spring 2.5 基于注解驱动的 Spring MVC