javascript - 标识符 ecmascript 2017 规范

标签 javascript unicode compiler-construction grammar lexer

你好来自 ecmascript specifications

UnicodeIDStart::
   any Unicode code point with the Unicode property "ID_Start"
UnicodeIDContinue::
   any Unicode code point with the Unicode property "ID_Continue"

什么是 Unicode 属性“ID_Start”和“ID_Continue”?

最佳答案

指的是Unicode character properties .作为the ES spec

IdentifierName and ReservedWord are tokens that are interpreted according to the Default Identifier Syntax given in Unicode Standard Annex #31, Identifier and Pattern Syntax […]. The Unicode identifier grammar is based on character properties specified by the Unicode Standard.

That standardbibliography 中也被引用规范。

关于javascript - 标识符 ecmascript 2017 规范,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39513422/

相关文章:

ruby - 使用 Rubinius 向 ruby​​ 对象添加 "source"属性

javascript - 如何使用 jquery 显示当前日期以及时间 AM PM 和 CST

javascript - 如何将 jquery 对象转换为字符串?

haskell - 将 G-Machine 源转换为 LLVM IR

ruby-on-rails - 字符编码,如何区分?

c++ - 了解多字节/Unicode

compiler-construction - 递归下降与生成的解析器 - 效率

使用 VoiceOver 时不调用 JavaScript 函数

Javascript CS-PRNG - 64 位随机

r - 与 Unix 相比,使用 unicode 替换的 R 中的 gsub 在 Windows 下给出不同的结果?