2.5 - [lex.digraph] - 【词法.双连符】
来源:互联网 发布:网络诈骗网警怎么报案 编辑:程序博客网 时间:2024/06/06 03:39
请不要转载本文;请不要以任何形式重新出版,发布本文;请在下载本文 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] | 上一页 【词法.预处理标记】 | 下一页 【词法.标记】 |
- 2.5 - [lex.digraph] - 【词法.双连符】
- 2.12 - [lex.operators] - 【词法.运算符】
- digraph
- 2 - [lex] - 【词法】
- lex词法分析
- LEX/FLEX词法分析器
- lex语言词法分析
- Lex词法分析器
- 2.1 - [lex.phases] - 【词法.阶段】
- 2.2 - [lex.charset] - 【词法.字符集】
- 2.3 - [lex.trigraph] - 【词法.三连符】
- 2.6 - [lex.token] - 【词法.标记】
- 2.7 - [lex.comment] - 【词法.注释】
- 2.8 - [lex.header] - 【词法.头】
- 2.10 - [lex.name] - 【词法.名字】
- 2.11 - [lex.key] - 【词法.关键字】
- 编译原理----Lex词法分析器
- 【编译原理】Lex词法分析器
- 如何成为XP客户
- 浸大讲学引发学生吵闹 周润发叹与好莱坞无缘[news]
- 我的相机 A70
- 解析Win XP操作系统文件共享
- 开源项目的质量警钟
- 2.5 - [lex.digraph] - 【词法.双连符】
- Visual Basic的类对于面向对象的支持
- ASP中页面限权访问的几种方法
- [C] 结构对齐
- 堵住ASP漏洞(转来的)
- 马拉多纳:雷东多含泪的眼睛 (zz from sina)
- 高效率开发过程
- 20种看asp源码的方法及工具
- vb的GUID生成算法