17xie > Python 语言参考手册 > 2.2 其它语言符号 Other tokens
背景:                 
[本书目录] [图书首页] [本书讨论区]  
链接地址:http://www.17xie.com/read-37404.html    注册17xie 一起来写书 实现您的出书梦想!


2.2 其它语言符号 Other tokens

Besides NEWLINE, INDENT and DEDENT, the following categories of tokens exist: identifiers, keywords, literals, operators, and delimiters. Whitespace characters (other than line terminators, discussed earlier) are not tokens, but serve to delimit tokens. Where ambiguity exists, a token comprises the longest possible string that forms a legal token, when read from left to right.

除了NEWLINE, INDENT和DEDENT, 还有以下几类语言符号:标识符, 关键字, 字面值, 运算符和分隔符.空白不是语言符号(除了断行符, 前述), 但可以用于分隔语言符号.当解释某语言符号有歧义时, 该语言符号被看作是由一个尽可能长的合法词法项组成(自左至右).


字数:548    最后更新:8个月以前 [03-15 20:13]月落晨星 修改
本页编辑者:月落晨星  
[前一页]:2.1.5 显式行连接 Exp…  [后一页]:2.3 标识符和关键字 I…
[在本页中加入书签] [收藏本书] [推荐本书]
  17xie论坛 > 本书讨论区 > 本页评论   (共0条)
发表评论

用户名称 匿名发表
评论内容
验证码

关于我们 | 版权声明 | 免责声明 | 诚聘英才 | 联系我们 | 合作伙伴 | 友情链接 | 广告合作 | 提交意见
Copyright © 2007 17xie.com 互联网协同写书平台 京ICP备08002671号