?um/p1-90`除本节中定义的这些之外,本规范各处还定义了专门的
The syntax-directed operation Evaluation takes no arguments and returns 一个
The syntax-directed operation BoundNames takes no arguments and returns 一个 String 的
当模块的默认导出没有其他名称时,本规范内部使用
It is defined piecewise over the following productions:
The syntax-directed operation DeclarationPart takes no arguments and returns 一个 Parse Node. It is defined piecewise over the following productions:
The syntax-directed operation IsConstantDeclaration takes no arguments and returns 一个 Boolean. It is defined piecewise over the following productions:
不必将 export default
The syntax-directed operation LexicallyDeclaredNames takes no arguments and returns 一个 String 的
在
export 在
The syntax-directed operation LexicallyScopedDeclarations takes no arguments and returns 一个 Parse Node 的
The syntax-directed operation VarDeclaredNames takes no arguments and returns 一个 String 的
本节由附录
export The syntax-directed operation VarScopedDeclarations takes no arguments and returns 一个 Parse Node 的
本节由附录
export The syntax-directed operation TopLevelLexicallyDeclaredNames takes no arguments and returns 一个 String 的
在函数或脚本的顶层,函数声明被当作 var 声明处理,而不是词法声明。
The syntax-directed operation TopLevelLexicallyScopedDeclarations takes no arguments and returns 一个 Parse Node 的
The syntax-directed operation TopLevelVarDeclaredNames takes no arguments and returns 一个 String 的
在函数或脚本的顶层,内部函数声明被当作 var 声明处理。
The syntax-directed operation TopLevelVarScopedDeclarations takes no arguments and returns 一个 Parse Node 的
The syntax-directed operation ContainsDuplicateLabels takes argument labelSet (一个 String 的
本节由附录
The syntax-directed operation ContainsUndefinedBreakTarget takes argument labelSet (一个 String 的
本节由附录
The syntax-directed operation ContainsUndefinedContinueTarget takes arguments iterationSet (一个 String 的
本节由附录
The syntax-directed operation HasName takes no arguments and returns 一个 Boolean. It is defined piecewise over the following productions:
The syntax-directed operation IsFunctionDefinition takes no arguments and returns 一个 Boolean. It is defined piecewise over the following productions:
The abstract operation IsAnonymousFunctionDefinition takes argument expr (一个
The syntax-directed operation IsIdentifierRef takes no arguments and returns 一个 Boolean. It is defined piecewise over the following productions:
The syntax-directed operation NamedEvaluation takes argument name (一个
The syntax-directed operation Contains takes argument symbol (一个文法符号,) and returns 一个 Boolean.
本规范中未在下方列出的每个文法产生式备选项,都隐含具有如下 Contains 默认定义:
依赖于子结构的
依赖于子结构的
依赖于子结构的static 初始化块内部。
super 或 this 之一,返回 super 或 this 之一,返回 super 或 this 之一,返回 Contains 用于检测 new.target、this 和 super 的使用。
super,返回 The syntax-directed operation ComputedPropertyContains takes argument symbol (一个文法符号,) and returns 一个 Boolean. It is defined piecewise over the following productions:
这些操作会在本规范的多个位置中使用。
The syntax-directed operation InstantiateFunctionObject takes arguments env (一个
The syntax-directed operation BindingInitialization takes arguments value (一个
It is defined piecewise over the following productions:
The abstract operation InitializeBoundName takes arguments name (一个 String,), value (一个
The syntax-directed operation IteratorBindingInitialization takes arguments iteratorRecord (一个
It is defined piecewise over the following productions:
The syntax-directed operation AssignmentTargetType takes no arguments and returns
The syntax-directed operation PropName takes no arguments and returns 一个 String 或