summaryrefslogtreecommitdiffstats
path: root/kjs/keywords.table
diff options
context:
space:
mode:
Diffstat (limited to 'kjs/keywords.table')
-rw-r--r--kjs/keywords.table70
1 files changed, 70 insertions, 0 deletions
diff --git a/kjs/keywords.table b/kjs/keywords.table
new file mode 100644
index 000000000..70fb8647d
--- /dev/null
+++ b/kjs/keywords.table
@@ -0,0 +1,70 @@
+# main keywords
+@begin mainTable 44
+# types
+null NULLTOKEN
+true TRUETOKEN
+false FALSETOKEN
+# keywords
+break BREAK
+case CASE
+catch CATCH
+const CONST
+default DEFAULT
+finally FINALLY
+for FOR
+instanceof INSTANCEOF
+new NEW
+var VAR
+continue CONTINUE
+function FUNCTION
+return RETURN
+void VOID
+delete DELETE
+if IF
+this THIS
+do DO
+while WHILE
+else ELSE
+in IN
+switch SWITCH
+throw THROW
+try TRY
+typeof TYPEOF
+with WITH
+debugger DEBUGGER
+# reserved for future use
+enum RESERVED
+export RESERVED
+extends RESERVED
+import RESERVED
+super RESERVED
+# All of the following are reserved for future use as per
+# ECMA-262, but are permitted as identifiers by both of
+# the widespread browsers.
+#
+#abstract RESERVED
+#boolean RESERVED
+#byte RESERVED
+#char RESERVED
+#class RESERVED
+#double RESERVED
+#final RESERVED
+#float RESERVED
+#goto RESERVED
+#implements RESERVED
+#int RESERVED
+#interface RESERVED
+#long RESERVED
+#native RESERVED
+#package RESERVED
+#private RESERVED
+#protected RESERVED
+#public RESERVED
+#short RESERVED
+#static RESERVED
+#synchronized RESERVED
+#throws RESERVED
+#transient RESERVED
+#volatile RESERVED
+@end
+