文档介绍:377语法此附录是主文档中描述的词法和语法以及不安全代码的语法扩展的摘要。这里,各语法产生式是按它们在主文档中出现的顺序列出的。词法文法input:input-sectionoptinput-section:input-section-partinput-sectioninput-section-partinput-section-part:input-elementsoptnew-linepp-directiveinput-elements:input-elementinput-elementsinput-elementinput-element:menttoken行结束符new-line:回车符(U+000D)换行符(U+000A)回车符(U+000D)后跟换行符(U+000A)下一行符(U+0085)行分隔符(U+2028)段落分隔符(U+2029)空白whitespace:任何含Unicode类Zs的字符水平制表符(U+0009)垂直制表符(U+000B)换页符(U+000C)ment:single-mentsingle-ment://input-charactersoptinput-characters:input-characterinput-charactersinput-characterinput-character:除new-line-character外的任何Unicode字符new-line-character:回车符(U+000D)换行符(U+000A)下一行符(U+0085)行分隔符(U+2028)段落分隔符(U+2029)ment::/*ment-textoptasterisks/ment-text::ment-ment-ment-ment-section::not-asteriskasterisksnot-slashasterisks::*asterisks*not-asterisk:除*外的任何Unicode字符not-slash:除/外的任何Unicode字符标记token:identifierkeywordinteger-literalreal-literalcharacter-literalstring-literaloperator-or-punctuatorUnicode字符转义序列unicode-escape-sequence:\uhex-digithex-digithex-digithex-digit\Uhex-digithex-digithex-digithex-digithex-digithex-digithex-digithex-digit标识符identifier:available-******@identifier-or-keywordavailable-identifier:不是keyword的identifier-or-keywordidentifier-or-keyword:identifier-start-characteridentifier-part-charactersoptidentifier-start-character:letter-character_(下划线字符U+005F)identifier-part-characters:identifier-part-characteridentifier-part-charactersidentifier-part-characteridentifier-part-character:letter-characterdecimal-digit-characterconnecting-bining-characterformatting-characterletter-character:类Lu、Ll、Lt、Lm、Lo或Nl的Unicode字符表示类Lu、Ll、Lt、Lm、Lo或Nl的字符的un