Add more cases with other reserved words

This commit is contained in:
Leo Balter 2019-08-14 17:51:55 -04:00
parent afcbd81061
commit ad98bcaf18
41 changed files with 492 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: await is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0061wait
//- referenceWith
await

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: 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: 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,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: default
---*/
//- 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: instance is a valid identifier name, using escape
template: default
---*/
//- declareWith
\u0069nstance
//- referenceWith
instance

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: default
---*/
//- 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: default
---*/
//- 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: default
---*/
//- 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: default
---*/
//- 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: default
---*/
//- 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: default
---*/
//- 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: default
---*/
//- 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
s\u0065per
//- 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
t\u0068peof
//- 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,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