#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Tue, 24 Apr 2018 21:32:56 +0200
changeset 4239 18d2206e2674
parent 4238 426bf2a5a3aa
child 4240 f7899ca6f9e6
#FEATURE by cg class: ParserFlags removed: #allowJavaScriptLet class: ParserFlags class removed: #allowJavaScriptLet changed: #initialize
ParserFlags.st
--- a/ParserFlags.st	Tue Apr 24 21:30:43 2018 +0200
+++ b/ParserFlags.st	Tue Apr 24 21:32:56 2018 +0200
@@ -886,14 +886,6 @@
     "Created: / 08-08-2017 / 23:49:07 / cg"
 !
 
-allowJavaScriptLet
-    "return true, if let is allowed and treated as a keyword (in JavaScript)"
-
-    ^ AllowJavaScriptLet
-
-    "Created: / 08-08-2017 / 23:48:48 / cg"
-!
-
 allowLiteralNameSpaceSymbols
     "return true, if literal nameSpace symbols are allowed (#foo::bar) are allowed"
 
@@ -1733,7 +1725,6 @@
     AllowSymbolsStartingWithDigit := false.
 
     AllowJavaScriptConst := true.              
-    AllowJavaScriptLet := false.              
     
     ArraysAreImmutable := false.                "/ still care for ST-80 compatibility
     StringsAreImmutable := false.               "/ still care for ST-80 compatibility
@@ -2414,12 +2405,6 @@
     "Created: / 08-08-2017 / 23:50:23 / cg"
 !
 
-allowJavaScriptLet
-    ^ self class allowJavaScriptLet
-
-    "Created: / 08-08-2017 / 23:50:12 / cg"
-!
-
 allowLazyValueExtension
     ^ allowLazyValueExtension
 !