browser.js |
|
0 |
escape-sequence-import.js |
---
esid: sec-left-hand-side-expressions
description: >
"import" in import.meta must not contain escape sequences.
info: |
5.1.5 Grammar Notation
Terminal symbols are shown in fixed width
font, both in the productions of the grammars and throughout this specification whenever the
text directly refers to such a terminal symbol. These are to appear in a script exactly as
written. All terminal symbol code points specified in this way are to be understood as the
appropriate Unicode code points from the Basic Latin range, as opposed to any similar-looking
code points from other Unicode ranges.
12.3 Left-Hand-Side Expressions
MetaProperty:
NewTarget
ImportMeta
ImportMeta:
import.meta
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta]
--- |
1034 |
escape-sequence-meta.js |
---
esid: sec-left-hand-side-expressions
description: >
"meta" in import.meta must not contain escape sequences.
info: |
5.1.5 Grammar Notation
Terminal symbols are shown in fixed width
font, both in the productions of the grammars and throughout this specification whenever the
text directly refers to such a terminal symbol. These are to appear in a script exactly as
written. All terminal symbol code points specified in this way are to be understood as the
appropriate Unicode code points from the Basic Latin range, as opposed to any similar-looking
code points from other Unicode ranges.
12.3 Left-Hand-Side Expressions
MetaProperty:
NewTarget
ImportMeta
ImportMeta:
import.meta
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta]
--- |
1032 |
goal-async-function-params-or-body.js |
---
esid: sec-left-hand-side-expressions-static-semantics-early-errors
description: >
An Syntax Error is thrown when the syntactic goal symbol is AsyncFunctionBody or FormalParameters.
info: |
It is an early Syntax Error if Module is not the syntactic goal symbol.
features: [import.meta, async-functions]
--- |
761 |
goal-async-generator-params-or-body.js |
---
esid: sec-left-hand-side-expressions-static-semantics-early-errors
description: >
An Syntax Error is thrown when the syntactic goal symbol is AsyncGeneratorBody or FormalParameters.
info: |
It is an early Syntax Error if Module is not the syntactic goal symbol.
features: [import.meta, async-iteration]
--- |
767 |
goal-function-params-or-body.js |
---
esid: sec-left-hand-side-expressions-static-semantics-early-errors
description: >
An Syntax Error is thrown when the syntactic goal symbol is FunctionBody or FormalParameters.
info: |
It is an early Syntax Error if Module is not the syntactic goal symbol.
features: [import.meta]
--- |
671 |
goal-generator-params-or-body.js |
---
esid: sec-left-hand-side-expressions-static-semantics-early-errors
description: >
An Syntax Error is thrown when the syntactic goal symbol is GeneratorBody or FormalParameters.
info: |
It is an early Syntax Error if Module is not the syntactic goal symbol.
features: [import.meta, generators]
--- |
731 |
goal-module-nested-function.js |
---
esid: sec-left-hand-side-expressions-static-semantics-early-errors
description: >
No SyntaxError is thrown when import.meta appears in nested functions in module scripts.
info: |
It is an early Syntax Error if Module is not the syntactic goal symbol.
flags: [module]
features: [import.meta]
--- |
513 |
goal-module.js |
---
esid: sec-left-hand-side-expressions-static-semantics-early-errors
description: >
No early Syntax Error is thrown when the syntactic goal symbol is Module.
info: |
It is an early Syntax Error if Module is not the syntactic goal symbol.
flags: [module]
features: [import.meta]
--- |
479 |
goal-script.js |
---
esid: sec-left-hand-side-expressions-static-semantics-early-errors
description: >
An early Syntax Error is thrown when the syntactic goal symbol is Script.
info: |
It is an early Syntax Error if Module is not the syntactic goal symbol.
negative:
phase: parse
type: SyntaxError
features: [import.meta]
--- |
516 |
invalid-assignment-target-array-destructuring-expr.js |
---
esid: sec-static-semantics-static-semantics-assignmenttargettype
description: >
import.meta is not a valid assignment target.
info: |
Static Semantics: AssignmentTargetType
ImportMeta:
import.meta
Return invalid.
12.15.5.1 Static Semantics: Early Errors
DestructuringAssignmentTarget : LeftHandSideExpression
It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral
and AssignmentTargetType(LeftHandSideExpression) is not simple.
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta, destructuring-assignment]
--- |
837 |
invalid-assignment-target-array-rest-destructuring-expr.js |
---
esid: sec-static-semantics-static-semantics-assignmenttargettype
description: >
import.meta is not a valid assignment target.
info: |
Static Semantics: AssignmentTargetType
ImportMeta:
import.meta
Return invalid.
12.15.5.1 Static Semantics: Early Errors
DestructuringAssignmentTarget : LeftHandSideExpression
It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral
and AssignmentTargetType(LeftHandSideExpression) is not simple.
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta, destructuring-assignment]
--- |
840 |
invalid-assignment-target-assignment-expr.js |
---
esid: sec-static-semantics-static-semantics-assignmenttargettype
description: >
import.meta is not a valid assignment target.
info: |
Static Semantics: AssignmentTargetType
ImportMeta:
import.meta
Return invalid.
12.15.1 Static Semantics: Early Errors
AssignmentExpression : LeftHandSideExpression = AssignmentExpression
It is an early Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an
ArrayLiteral and AssignmentTargetType of LeftHandSideExpression is invalid or strict.
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta]
--- |
836 |
invalid-assignment-target-for-await-of-loop.js |
---
esid: sec-static-semantics-static-semantics-assignmenttargettype
description: >
import.meta is not a valid assignment target.
info: |
Static Semantics: AssignmentTargetType
ImportMeta:
import.meta
Return invalid.
13.7.5.1 Static Semantics: Early Errors
IterationStatement:
for await ( LeftHandSideExpression of AssignmentExpression ) Statement
It is a Syntax Error if AssignmentTargetType of LeftHandSideExpression is not simple.
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta, async-iteration]
--- |
833 |
invalid-assignment-target-for-in-loop.js |
---
esid: sec-static-semantics-static-semantics-assignmenttargettype
description: >
import.meta is not a valid assignment target.
info: |
Static Semantics: AssignmentTargetType
ImportMeta:
import.meta
Return invalid.
13.7.5.1 Static Semantics: Early Errors
IterationStatement:
for ( LeftHandSideExpression in Expression ) Statement
It is a Syntax Error if AssignmentTargetType of LeftHandSideExpression is not simple.
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta]
--- |
766 |
invalid-assignment-target-for-of-loop.js |
---
esid: sec-static-semantics-static-semantics-assignmenttargettype
description: >
import.meta is not a valid assignment target.
info: |
Static Semantics: AssignmentTargetType
ImportMeta:
import.meta
Return invalid.
13.7.5.1 Static Semantics: Early Errors
IterationStatement:
for ( LeftHandSideExpression of AssignmentExpression ) Statement
It is a Syntax Error if AssignmentTargetType of LeftHandSideExpression is not simple.
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta]
--- |
776 |
invalid-assignment-target-object-destructuring-expr.js |
---
esid: sec-static-semantics-static-semantics-assignmenttargettype
description: >
import.meta is not a valid assignment target.
info: |
Static Semantics: AssignmentTargetType
ImportMeta:
import.meta
Return invalid.
12.15.5.1 Static Semantics: Early Errors
DestructuringAssignmentTarget : LeftHandSideExpression
It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral
and AssignmentTargetType(LeftHandSideExpression) is not simple.
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta, destructuring-assignment]
--- |
842 |
invalid-assignment-target-object-rest-destructuring-expr.js |
---
esid: sec-static-semantics-static-semantics-assignmenttargettype
description: >
import.meta is not a valid assignment target.
info: |
Static Semantics: AssignmentTargetType
ImportMeta:
import.meta
Return invalid.
12.15.5.1 Static Semantics: Early Errors
DestructuringAssignmentTarget : LeftHandSideExpression
It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral
and AssignmentTargetType(LeftHandSideExpression) is not simple.
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta, destructuring-assignment, object-rest]
--- |
855 |
invalid-assignment-target-update-expr.js |
---
esid: sec-static-semantics-static-semantics-assignmenttargettype
description: >
import.meta is not a valid assignment target.
info: |
Static Semantics: AssignmentTargetType
ImportMeta:
import.meta
Return invalid.
12.4.1 Static Semantics: Early Errors
UpdateExpression:
LeftHandSideExpression++
LeftHandSideExpression--
It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is invalid or strict.
flags: [module]
negative:
phase: parse
type: SyntaxError
features: [import.meta]
--- |
765 |
shell.js |
|
0 |