Merge pull request #2295 from leobalter/2285/default-escaped

Add tests for valid identifier names also listed as reserved words
This commit is contained in:
Leo Balter 2019-08-14 20:45:40 -04:00 committed by GitHub
commit 40dca6ef33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
468 changed files with 17342 additions and 0 deletions

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: break is a valid identifier name, using escape
template: default
---*/
//- declareWith
bre\u0061k
//- referenceWith
break

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: case is a valid identifier name, using escape
template: default
---*/
//- declareWith
c\u0061se
//- referenceWith
case

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: catch is a valid identifier name, using escape
template: default
---*/
//- declareWith
c\u0061tch
//- referenceWith
catch

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: class is a valid identifier name, using escape
template: default
---*/
//- declareWith
cl\u0061ss
//- referenceWith
class

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: const is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0063onst
//- referenceWith
const

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: continue is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0063ontinue
//- referenceWith
continue

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: debugger is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0064ebugger
//- referenceWith
debugger

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: default is a valid identifier name, using extended escape
template: default
---*/
//- declareWith
def\u{61}ult
//- referenceWith
default

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: default is a valid identifier name, using escape
template: default
---*/
//- declareWith
def\u0061ult
//- referenceWith
default

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: default is a valid identifier name
template: default
---*/
//- declareWith
default
//- referenceWith
default

View File

@ -0,0 +1,38 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/arrow-function/dstr/syntax-error-ident-ref-
name: IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord
esid: prod-AssignmentPattern
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
negative:
phase: parse
type: SyntaxError
features: [arrow-function, destructuring-assignment]
---*/
$DONOTEVALUATE();
var x = ({ /*{ declareWith }*/ }) => {};

View File

@ -0,0 +1,44 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/class/ident-name-method-def-
name: MethodDefinition
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
MethodDefinition
...
MethodDefinition:
PropertyName ( UniqueFormalParameters ){ FunctionBody }
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
features: [class]
---*/
var C = class {
/*{ declareWith }*/() { return 42; }
}
var obj = new C();
assert.sameValue(obj['/*{ referenceWith }*/'](), 42, 'property exists');

View File

@ -0,0 +1,44 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/statements/class/ident-name-method-def-
name: MethodDefinition
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
MethodDefinition
...
MethodDefinition:
PropertyName ( UniqueFormalParameters ){ FunctionBody }
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
features: [class]
---*/
class C {
/*{ declareWith }*/() { return 42; }
}
var obj = new C();
assert.sameValue(obj['/*{ referenceWith }*/'](), 42, 'property exists');

View File

@ -0,0 +1,38 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/object/covered-ident-name-prop-name-literal-
name: PropertyName in a CoverParenthesizedExpressionAndArrowParameterList
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
IdentifierReference
PropertyName : AssignmentExpression
MethodDefinition
... AssignmentExpression
...
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
---*/
var obj = ({ /*{ declareWith }*/: 42 });
assert.sameValue(obj['/*{ referenceWith }*/'], 42, 'property exists');

View File

@ -0,0 +1,21 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/assignment/member-expr-ident-name-
name: MemberExpression IdentifierName
esid: prod-PropertyDefinition
info: |
MemberExpression:
...
MemberExpression . IdentifierName
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
---*/
var obj = {};
obj./*{ declareWith }*/ = 42;
assert.sameValue(obj['/*{ referenceWith }*/'], 42, 'property exists');

View File

@ -0,0 +1,38 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/assignment/dstr/syntax-error-ident-ref-
name: IdentiferReference in ObjectAssignmentPattern cannot be a ReservedWord
esid: prod-AssignmentPattern
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
negative:
phase: parse
type: SyntaxError
features: [destructuring-assignment]
---*/
$DONOTEVALUATE();
var x = { /*{ declareWith }*/ } = { /*{ referenceWith }*/: 42 };

View File

@ -0,0 +1,41 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/assignment/dstr/ident-name-prop-name-literal-
name: PropertyName of an ObjectAssignmentPattern
esid: prod-AssignmentPattern
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
features: [destructuring-assignment]
flags: [noStrict]
---*/
var y = { /*{ declareWith }*/: x } = { /*{ referenceWith }*/: 42 };
assert.sameValue(x, 42, 'property exists');
assert.sameValue(y['/*{ referenceWith }*/'], 42, 'assignment successful');

View File

@ -0,0 +1,41 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/object/ident-name-method-def-
name: MethodDefinition
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
MethodDefinition
...
MethodDefinition:
PropertyName ( UniqueFormalParameters ){ FunctionBody }
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
---*/
var obj = {
/*{ declareWith }*/() { return 42; }
};
assert.sameValue(obj['/*{ referenceWith }*/'](), 42, 'property exists');

View File

@ -0,0 +1,40 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/object/ident-name-prop-name-literal-
name: PropertyName
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
IdentifierReference
PropertyName : AssignmentExpression
MethodDefinition
... AssignmentExpression
...
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
---*/
var obj = {
/*{ declareWith }*/: 42
};
assert.sameValue(obj['/*{ referenceWith }*/'], 42, 'property exists');

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: delete is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0064elete
//- referenceWith
delete

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: do is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0064o
//- referenceWith
do

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: else is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0065lse
//- referenceWith
else

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: enum is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0065num
//- referenceWith
enum

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: export is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0065xport
//- referenceWith
export

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: extends is a valid identifier name, using extended escape
template: default
---*/
//- declareWith
\u{65}xtends
//- referenceWith
extends

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: extends is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0065xtends
//- referenceWith
extends

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: extends is a valid identifier name
template: default
---*/
//- declareWith
extends
//- referenceWith
extends

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: finally is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0066inally
//- referenceWith
finally

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: for is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0066or
//- referenceWith
for

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: function is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0066unction
//- referenceWith
function

View File

@ -0,0 +1,39 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/arrow-function/dstr/syntax-error-ident-ref-
name: IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord
esid: prod-AssignmentPattern
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
negative:
phase: parse
type: SyntaxError
features: [arrow-function, destructuring-assignment]
flags: [onlyStrict]
---*/
$DONOTEVALUATE();
var x = ({ /*{ declareWith }*/ }) => {};

View File

@ -0,0 +1,44 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/class/ident-name-method-def-
name: MethodDefinition
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
MethodDefinition
...
MethodDefinition:
PropertyName ( UniqueFormalParameters ){ FunctionBody }
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
features: [class]
---*/
var C = class {
/*{ declareWith }*/() { return 42; }
}
var obj = new C();
assert.sameValue(obj['/*{ referenceWith }*/'](), 42, 'property exists');

View File

@ -0,0 +1,44 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/statements/class/ident-name-method-def-
name: MethodDefinition
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
MethodDefinition
...
MethodDefinition:
PropertyName ( UniqueFormalParameters ){ FunctionBody }
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
features: [class]
---*/
class C {
/*{ declareWith }*/() { return 42; }
}
var obj = new C();
assert.sameValue(obj['/*{ referenceWith }*/'](), 42, 'property exists');

View File

@ -0,0 +1,38 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/object/covered-ident-name-prop-name-literal-
name: PropertyName in a CoverParenthesizedExpressionAndArrowParameterList
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
IdentifierReference
PropertyName : AssignmentExpression
MethodDefinition
... AssignmentExpression
...
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
---*/
var obj = ({ /*{ declareWith }*/: 42 });
assert.sameValue(obj['/*{ referenceWith }*/'], 42, 'property exists');

View File

@ -0,0 +1,21 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/assignment/member-expr-ident-name-
name: MemberExpression IdentifierName
esid: prod-PropertyDefinition
info: |
MemberExpression:
...
MemberExpression . IdentifierName
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
---*/
var obj = {};
obj./*{ declareWith }*/ = 42;
assert.sameValue(obj['/*{ referenceWith }*/'], 42, 'property exists');

View File

@ -0,0 +1,39 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/assignment/dstr/syntax-error-ident-ref-
name: IdentiferReference in ObjectAssignmentPattern cannot be a ReservedWord
esid: prod-AssignmentPattern
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
features: [destructuring-assignment]
---*/
$DONOTEVALUATE();
var x = { /*{ declareWith }*/ } = { /*{ referenceWith }*/: 42 };

View File

@ -0,0 +1,41 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/assignment/dstr/ident-name-prop-name-literal-
name: PropertyName of an ObjectAssignmentPattern
esid: prod-AssignmentPattern
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
features: [destructuring-assignment]
flags: [noStrict]
---*/
var y = { /*{ declareWith }*/: x } = { /*{ referenceWith }*/: 42 };
assert.sameValue(x, 42, 'property exists');
assert.sameValue(y['/*{ referenceWith }*/'], 42, 'assignment successful');

View File

@ -0,0 +1,41 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/object/ident-name-method-def-
name: MethodDefinition
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
MethodDefinition
...
MethodDefinition:
PropertyName ( UniqueFormalParameters ){ FunctionBody }
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
---*/
var obj = {
/*{ declareWith }*/() { return 42; }
};
assert.sameValue(obj['/*{ referenceWith }*/'](), 42, 'property exists');

View File

@ -0,0 +1,40 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/object/ident-name-prop-name-literal-
name: PropertyName
esid: prod-PropertyDefinition
info: |
ObjectLiteral :
{ PropertyDefinitionList }
{ PropertyDefinitionList , }
PropertyDefinitionList:
PropertyDefinition
PropertyDefinitionList , PropertyDefinition
PropertyDefinition:
IdentifierReference
PropertyName : AssignmentExpression
MethodDefinition
... AssignmentExpression
...
PropertyName:
LiteralPropertyName
...
LiteralPropertyName:
IdentifierName
...
Reserved Words
A reserved word is an IdentifierName that cannot be used as an Identifier.
---*/
var obj = {
/*{ declareWith }*/: 42
};
assert.sameValue(obj['/*{ referenceWith }*/'], 42, 'property exists');

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: if is a valid identifier name, using escape
template: default
---*/
//- declareWith
i\u0066
//- referenceWith
if

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: implements is a valid identifier name, using escape
template: future-reserved-words
---*/
//- declareWith
\u0069mplements
//- referenceWith
implements

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: import is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0069mport
//- referenceWith
import

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: in is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0069n
//- referenceWith
in

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: instanceof is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0069nstanceof
//- referenceWith
instanceof

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: interface is a valid identifier name, using escape
template: future-reserved-words
---*/
//- declareWith
interf\u0061ce
//- referenceWith
interface

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: let is a valid identifier name, using escape
template: future-reserved-words
---*/
//- declareWith
l\u0065t
//- referenceWith
let

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: new is a valid identifier name, using escape
template: default
---*/
//- declareWith
n\u0065w
//- referenceWith
new

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: package is a valid identifier name, using escape
template: future-reserved-words
---*/
//- declareWith
p\u0061ckage
//- referenceWith
package

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: private is a valid identifier name, using escape
template: future-reserved-words
---*/
//- declareWith
privat\u0065
//- referenceWith
private

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: protected is a valid identifier name, using escape
template: future-reserved-words
---*/
//- declareWith
prot\u0065cted
//- referenceWith
protected

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: public is a valid identifier name, using escape
template: future-reserved-words
---*/
//- declareWith
pu\u0062lic
//- referenceWith
public

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: return is a valid identifier name, using escape
template: default
---*/
//- declareWith
r\u0065turn
//- referenceWith
return

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: static is a valid identifier name, using escape
template: future-reserved-words
---*/
//- declareWith
st\u0061tic
//- referenceWith
static

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: super is a valid identifier name, using escape
template: default
---*/
//- declareWith
sup\u0065r
//- referenceWith
super

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: switch is a valid identifier name, using escape
template: default
---*/
//- declareWith
sw\u0069tch
//- referenceWith
switch

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: this is a valid identifier name, using escape
template: default
---*/
//- declareWith
th\u0069s
//- referenceWith
this

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: throw is a valid identifier name, using escape
template: default
---*/
//- declareWith
t\u0068row
//- referenceWith
throw

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: try is a valid identifier name, using escape
template: default
---*/
//- declareWith
tr\u0079
//- referenceWith
try

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: typeof is a valid identifier name, using escape
template: default
---*/
//- declareWith
typ\u0065of
//- referenceWith
typeof

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: var is a valid identifier name, using escape
template: default
---*/
//- declareWith
v\u0061r
//- referenceWith
var

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: void is a valid identifier name, using escape
template: default
---*/
//- declareWith
voi\u0064
//- referenceWith
void

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: while is a valid identifier name, using escape
template: default
---*/
//- declareWith
whil\u0065
//- referenceWith
while

View File

@ -0,0 +1,12 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: with is a valid identifier name, using escape
template: default
---*/
//- declareWith
w\u0069th
//- referenceWith
with

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/break-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: break is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ bre\u0061k }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/case-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: case is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ c\u0061se }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/catch-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: catch is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ c\u0061tch }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/class-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: class is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ cl\u0061ss }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/const-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: const is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0063onst }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/continue-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: continue is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0063ontinue }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/debugger-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: debugger is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0064ebugger }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/default-escaped-ext.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: default is a valid identifier name, using extended escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ def\u{61}ult }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/default-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: default is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ def\u0061ult }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/default.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: default is a valid identifier name (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ default }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/delete-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: delete is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0064elete }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/do-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: do is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0064o }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/else-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: else is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0065lse }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/enum-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: enum is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0065num }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/export-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: export is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0065xport }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/extends-escaped-ext.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: extends is a valid identifier name, using extended escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u{65}xtends }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/extends-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: extends is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0065xtends }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/extends.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: extends is a valid identifier name (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ extends }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/finally-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: finally is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0066inally }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/for-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: for is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0066or }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/function-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: function is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0066unction }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/if-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: if is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ i\u0066 }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/implements-escaped.case
// - src/identifier-names/future-reserved-words/arrow-fn-assignment-identifier.template
/*---
description: implements is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated, onlyStrict]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0069mplements }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/import-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: import is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0069mport }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/in-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: in is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0069n }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/instanceof-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: instanceof is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ \u0069nstanceof }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/interface-escaped.case
// - src/identifier-names/future-reserved-words/arrow-fn-assignment-identifier.template
/*---
description: interface is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated, onlyStrict]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ interf\u0061ce }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/let-escaped.case
// - src/identifier-names/future-reserved-words/arrow-fn-assignment-identifier.template
/*---
description: let is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated, onlyStrict]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ l\u0065t }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/new-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: new is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ n\u0065w }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/package-escaped.case
// - src/identifier-names/future-reserved-words/arrow-fn-assignment-identifier.template
/*---
description: package is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated, onlyStrict]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ p\u0061ckage }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/private-escaped.case
// - src/identifier-names/future-reserved-words/arrow-fn-assignment-identifier.template
/*---
description: private is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated, onlyStrict]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ privat\u0065 }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/protected-escaped.case
// - src/identifier-names/future-reserved-words/arrow-fn-assignment-identifier.template
/*---
description: protected is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated, onlyStrict]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ prot\u0065cted }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/public-escaped.case
// - src/identifier-names/future-reserved-words/arrow-fn-assignment-identifier.template
/*---
description: public is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated, onlyStrict]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ pu\u0062lic }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/return-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: return is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ r\u0065turn }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/static-escaped.case
// - src/identifier-names/future-reserved-words/arrow-fn-assignment-identifier.template
/*---
description: static is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated, onlyStrict]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ st\u0061tic }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/super-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: super is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ sup\u0065r }) => {};

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/identifier-names/switch-escaped.case
// - src/identifier-names/default/arrow-fn-assignment-identifier.template
/*---
description: switch is a valid identifier name, using escape (IdentiferReference in ObjectAssignmentPattern (Arrow Function) cannot be a ReservedWord)
esid: prod-AssignmentPattern
features: [arrow-function, destructuring-assignment]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
AssignmentPattern:
ObjectAssignmentPattern
ObjectAssignmentPattern:
{ AssignmentPropertyList }
AssignmentPropertyList:
AssignmentProperty
AssignmentPropertyList , AssignmentProperty
AssignmentProperty:
IdentifierReference Initializer_opt
PropertyName : AssignmentElement
IdentifierReference:
Identifier
[~Yield]yield
[~Await]await
Identifier:
IdentifierName but not ReservedWord
---*/
$DONOTEVALUATE();
var x = ({ sw\u0069tch }) => {};

Some files were not shown because too many files have changed in this diff Show More