"static" should not be a reserved keyword in non-strict mode even when ES6 class...
[WebKit-https.git] / Source / JavaScriptCore / parser / Keywords.table
1 # Main keywords.
2 @begin mainTable 47
3
4 # Types.
5 null            NULLTOKEN
6 true            TRUETOKEN
7 false           FALSETOKEN
8
9 # Keywords.
10 break           BREAK
11 case            CASE
12 catch           CATCH
13 class           CLASSTOKEN
14 const           CONSTTOKEN
15 default         DEFAULT
16 extends EXTENDS
17 finally         FINALLY
18 for             FOR
19 instanceof      INSTANCEOF
20 new             NEW
21 var             VAR
22 continue        CONTINUE
23 function        FUNCTION
24 return          RETURN
25 void            VOIDTOKEN
26 delete          DELETETOKEN
27 if              IF
28 this            THISTOKEN
29 do              DO
30 while           WHILE
31 else            ELSE
32 in              INTOKEN
33 super           SUPER
34 switch          SWITCH
35 throw           THROW
36 try             TRY
37 typeof          TYPEOF
38 with            WITH
39 debugger        DEBUGGER
40
41 # Reserved for future use.
42 enum            RESERVED
43 export          RESERVED
44 import          RESERVED
45
46 # Reserved for future use in strict code.
47 implements      RESERVED_IF_STRICT
48 interface       RESERVED_IF_STRICT
49 let             RESERVED_IF_STRICT
50 package         RESERVED_IF_STRICT
51 private         RESERVED_IF_STRICT
52 protected       RESERVED_IF_STRICT
53 public          RESERVED_IF_STRICT
54 static          RESERVED_IF_STRICT
55 yield           RESERVED_IF_STRICT
56
57 @end