archives

« Bugzilla Issues Index

#2322 — 14.1, 14.2: Add missing definitions for VarScopedDeclarations, LexicalDeclarations and VarDeclaredNames


Add to 14.1 definitions for "VarScopedDeclarations" and "LexicalDeclarations":

Static Semantics: VarScopedDeclarations
FunctionStatementList : [empty]
1. Return an empty List.
FunctionStatementList : StatementList
1. Return TopLevelVarScopedDeclarations of StatementList.

Static Semantics: LexicalDeclarations
FunctionStatementList : [empty]
1. Return an empty List.
FunctionStatementList : StatementList
1. Return TopLevelLexicallyScopedDeclarations of StatementList.


Add to 14.2 definitions for "VarScopedDeclarations", "LexicalDeclarations" and "VarDeclaredNames":

Static Semantics: VarScopedDeclarations
ConciseBody : AssignmentExpression
1. Return an empty List.

Static Semantics: LexicalDeclarations
ConciseBody : AssignmentExpression
1. Return an empty List.

Static Semantics: VarDeclaredNames
ConciseBody : AssignmentExpression
1. Return an empty List.


fixed in rev23 editor's draft


fixed in rev23 draft