?um/p1-90`除本节中定义的操作外,本规范各处还定义了专门的
The syntax-directed operation Evaluation takes no arguments and returns a
The syntax-directed operation BoundNames takes no arguments and returns a
It is defined piecewise over the following productions:
The syntax-directed operation DeclarationPart takes no arguments and returns a
The syntax-directed operation IsConstantDeclaration takes no arguments and returns a Boolean. It is defined piecewise over the following productions:
无需将 export default
The syntax-directed operation IsUsingDeclaration takes no arguments and returns Boolean. It is defined piecewise over the following productions:
The syntax-directed operation IsAwaitUsingDeclaration takes no arguments and returns Boolean. It is defined piecewise over the following productions:
The syntax-directed operation LexicallyDeclaredNames takes no arguments and returns a
在
export 在
The syntax-directed operation LexicallyScopedDeclarations takes no arguments and returns a
The syntax-directed operation VarDeclaredNames takes no arguments and returns a
本节由附录
export The syntax-directed operation VarScopedDeclarations takes no arguments and returns a
本节由附录
export The syntax-directed operation TopLevelLexicallyDeclaredNames takes no arguments and returns a
在函数或脚本的顶层,函数声明会被像 var 声明一样处理,而不是像词法声明一样处理。
The syntax-directed operation TopLevelLexicallyScopedDeclarations takes no arguments and returns a
The syntax-directed operation TopLevelVarDeclaredNames takes no arguments and returns a
在函数或脚本的顶层,内部函数声明会被像 var 声明一样处理。
The syntax-directed operation TopLevelVarScopedDeclarations takes no arguments and returns a
The syntax-directed operation ContainsDuplicateLabels takes argument labelSet (a
本节由附录
The syntax-directed operation ContainsUndefinedBreakTarget takes argument labelSet (a
本节由附录
The syntax-directed operation ContainsUndefinedContinueTarget takes arguments iterationSet (a
本节由附录
The syntax-directed operation HasName takes no arguments and returns a Boolean. It is defined piecewise over the following productions:
The syntax-directed operation IsFunctionDefinition takes no arguments and returns a Boolean. It is defined piecewise over the following productions:
The abstract operation IsAnonymousFunctionDefinition takes argument expr (an
The syntax-directed operation IsIdentifierRef takes no arguments and returns a Boolean. It is defined piecewise over the following productions:
The syntax-directed operation NamedEvaluation takes argument name (a property key or a
The syntax-directed operation Contains takes argument symbol (a grammar symbol) and returns a Boolean.
本规范中未在下方列出的每个文法产生式替代项,都隐式具有以下 Contains 的默认定义:
依赖子结构的
依赖子结构的
依赖子结构的static 初始化块内部。
super 或 this 之一,则返回 super 或 this 之一,则返回 super 或 this 之一,则返回 Contains 用于检测 new.target、this 和 super 用法。
super,则返回 The syntax-directed operation ComputedPropertyContains takes argument symbol (a grammar symbol) and returns a Boolean. It is defined piecewise over the following productions:
这些操作在整个规范的多个地方使用。
The syntax-directed operation InstantiateFunctionObject takes arguments envRecord (an
The syntax-directed operation BindingInitialization takes arguments value (an ECMAScript language value) and envRecord (an
It is defined piecewise over the following productions:
The abstract operation InitializeBoundName takes arguments name (a String), value (an ECMAScript language value), and envRecord (an
The syntax-directed operation IteratorBindingInitialization takes arguments iteratorRecord (an
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 a String or
The syntax-directed operation ContainsUsing takes no arguments and returns Boolean. It is defined piecewise over the following productions: