请不要转载本文;请不要以任何形式重新出版,发布本文;请在下载本文 24 小时内将其删除;禁止将本文用于商业目的。
2 Lexical conventions [lex]2.6 Tokens [lex.token]
| 2 词法约定 【词法】2.6 标记 【词法.标记】
|
token: identifier keyword literal operator punctuator
| 标记: 标识符 关键字 文字量 运算符 标点
|
There are five kinds of tokens: identifiers, keywords, literals,18) operators, and other separators. Blanks horizontal and vertical tabs, newlines, formfeeds, and comments (collectively, "white space"), as described below, are ignored except as they serve to separate tokens. [Note: Some white space is required to separate otherwise adjacent identifiers, keywords, numeric literals, and alternative tokens containing alphabetic characters. ]
| 共有五种标记:标识符,关键字,文字量18),运算符,以及其他分隔符。如下文描述,空格,水平表格,垂直表格,换行,换页,以及注释(统一称为“空白”),将被用来分隔标记并被忽略。【注:相邻的标识符,关键字,数字文字量,和包含字母字符的候选标记之间需要用一些空白分隔开。】
|
18) Literals include strings and character and numeric literals.
| 18) 文字量包括字符串,字符和数字文字量。
|
PREV [lex.digraph] | NEXT [lex.comment] | 上一页 【词法.双连符】 | 下一页 【词法.注释】 |