mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Add more cases with other reserved words
This commit is contained in:
parent
afcbd81061
commit
ad98bcaf18
12
src/identifier-names/await-escaped.case
Normal file
12
src/identifier-names/await-escaped.case
Normal 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: await is a valid identifier name, using escape
|
||||
template: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
\u0061wait
|
||||
//- referenceWith
|
||||
await
|
12
src/identifier-names/break-escaped.case
Normal file
12
src/identifier-names/break-escaped.case
Normal 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
|
12
src/identifier-names/case-escaped.case
Normal file
12
src/identifier-names/case-escaped.case
Normal 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
|
12
src/identifier-names/catch-escaped.case
Normal file
12
src/identifier-names/catch-escaped.case
Normal 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
|
12
src/identifier-names/class-escaped.case
Normal file
12
src/identifier-names/class-escaped.case
Normal 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
|
12
src/identifier-names/const-escaped.case
Normal file
12
src/identifier-names/const-escaped.case
Normal 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
|
12
src/identifier-names/continue-escaped.case
Normal file
12
src/identifier-names/continue-escaped.case
Normal 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
|
12
src/identifier-names/debugger-escaped.case
Normal file
12
src/identifier-names/debugger-escaped.case
Normal 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
|
12
src/identifier-names/delete-escaped.case
Normal file
12
src/identifier-names/delete-escaped.case
Normal 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
|
12
src/identifier-names/do-escaped.case
Normal file
12
src/identifier-names/do-escaped.case
Normal 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
|
12
src/identifier-names/else-escaped.case
Normal file
12
src/identifier-names/else-escaped.case
Normal 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
|
12
src/identifier-names/enum-escaped.case
Normal file
12
src/identifier-names/enum-escaped.case
Normal 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
|
12
src/identifier-names/export-escaped.case
Normal file
12
src/identifier-names/export-escaped.case
Normal 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
|
12
src/identifier-names/finally-escaped.case
Normal file
12
src/identifier-names/finally-escaped.case
Normal 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
|
12
src/identifier-names/for-escaped.case
Normal file
12
src/identifier-names/for-escaped.case
Normal 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
|
12
src/identifier-names/function-escaped.case
Normal file
12
src/identifier-names/function-escaped.case
Normal 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
|
12
src/identifier-names/if-escaped.case
Normal file
12
src/identifier-names/if-escaped.case
Normal 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
|
12
src/identifier-names/implements-escaped.case
Normal file
12
src/identifier-names/implements-escaped.case
Normal 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: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
\u0069mplements
|
||||
//- referenceWith
|
||||
implements
|
12
src/identifier-names/import-escaped.case
Normal file
12
src/identifier-names/import-escaped.case
Normal 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
|
12
src/identifier-names/in-escaped.case
Normal file
12
src/identifier-names/in-escaped.case
Normal 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
|
12
src/identifier-names/instance-escaped.case
Normal file
12
src/identifier-names/instance-escaped.case
Normal 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: instance is a valid identifier name, using escape
|
||||
template: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
\u0069nstance
|
||||
//- referenceWith
|
||||
instance
|
12
src/identifier-names/interface-escaped.case
Normal file
12
src/identifier-names/interface-escaped.case
Normal 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: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
interf\u0061ce
|
||||
//- referenceWith
|
||||
interface
|
12
src/identifier-names/let-escaped.case
Normal file
12
src/identifier-names/let-escaped.case
Normal 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: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
l\u0065t
|
||||
//- referenceWith
|
||||
let
|
12
src/identifier-names/new-escaped.case
Normal file
12
src/identifier-names/new-escaped.case
Normal 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
|
12
src/identifier-names/package-escaped.case
Normal file
12
src/identifier-names/package-escaped.case
Normal 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: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
p\u0061ckage
|
||||
//- referenceWith
|
||||
package
|
12
src/identifier-names/private-escaped.case
Normal file
12
src/identifier-names/private-escaped.case
Normal 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: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
privat\u0065
|
||||
//- referenceWith
|
||||
private
|
12
src/identifier-names/protected-escaped.case
Normal file
12
src/identifier-names/protected-escaped.case
Normal 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: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
prot\u0065cted
|
||||
//- referenceWith
|
||||
protected
|
12
src/identifier-names/public-escaped.case
Normal file
12
src/identifier-names/public-escaped.case
Normal 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: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
pu\u0062lic
|
||||
//- referenceWith
|
||||
public
|
12
src/identifier-names/return-escaped.case
Normal file
12
src/identifier-names/return-escaped.case
Normal 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
|
12
src/identifier-names/static-escaped.case
Normal file
12
src/identifier-names/static-escaped.case
Normal 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: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
st\u0061tic
|
||||
//- referenceWith
|
||||
static
|
12
src/identifier-names/super-escaped.case
Normal file
12
src/identifier-names/super-escaped.case
Normal 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
|
||||
s\u0065per
|
||||
//- referenceWith
|
||||
super
|
12
src/identifier-names/switch-escaped.case
Normal file
12
src/identifier-names/switch-escaped.case
Normal 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
|
12
src/identifier-names/this-escaped.case
Normal file
12
src/identifier-names/this-escaped.case
Normal 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
|
12
src/identifier-names/throw-escaped.case
Normal file
12
src/identifier-names/throw-escaped.case
Normal 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
|
12
src/identifier-names/try-escaped.case
Normal file
12
src/identifier-names/try-escaped.case
Normal 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
|
12
src/identifier-names/typeof-escaped.case
Normal file
12
src/identifier-names/typeof-escaped.case
Normal 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
|
||||
t\u0068peof
|
||||
//- referenceWith
|
||||
typeof
|
12
src/identifier-names/var-escaped.case
Normal file
12
src/identifier-names/var-escaped.case
Normal 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
|
12
src/identifier-names/void-escaped.case
Normal file
12
src/identifier-names/void-escaped.case
Normal 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
|
12
src/identifier-names/while-escaped.case
Normal file
12
src/identifier-names/while-escaped.case
Normal 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
|
12
src/identifier-names/with-escaped.case
Normal file
12
src/identifier-names/with-escaped.case
Normal 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
|
12
src/identifier-names/yield-escaped.case
Normal file
12
src/identifier-names/yield-escaped.case
Normal 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: yield is a valid identifier name, using escape
|
||||
template: default
|
||||
---*/
|
||||
|
||||
//- declareWith
|
||||
y\u0069eld
|
||||
//- referenceWith
|
||||
yield
|
Loading…
x
Reference in New Issue
Block a user