28
|
1 /++
|
|
2 Author: Aziz Köksal
|
249
|
3 License: GPL3
|
28
|
4 +/
|
|
5 module Keywords;
|
|
6 import Token;
|
|
7 import Identifier;
|
|
8
|
|
9 static const Identifier[] keywords = [
|
|
10 {TOK.Abstract, "abstract"},
|
|
11 {TOK.Alias, "alias"},
|
|
12 {TOK.Align, "align"},
|
|
13 {TOK.Asm, "asm"},
|
|
14 {TOK.Assert, "assert"},
|
|
15 {TOK.Auto, "auto"},
|
|
16 {TOK.Body, "body"},
|
|
17 {TOK.Bool, "bool"},
|
|
18 {TOK.Break, "break"},
|
|
19 {TOK.Byte, "byte"},
|
|
20 {TOK.Case, "case"},
|
|
21 {TOK.Cast, "cast"},
|
|
22 {TOK.Catch, "catch"},
|
|
23 {TOK.Cdouble, "cdouble"},
|
|
24 {TOK.Cent, "cent"},
|
|
25 {TOK.Cfloat, "cfloat"},
|
|
26 {TOK.Char, "char"},
|
|
27 {TOK.Class, "class"},
|
|
28 {TOK.Const, "const"},
|
|
29 {TOK.Continue, "continue"},
|
|
30 {TOK.Creal, "creal"},
|
|
31 {TOK.Dchar, "dchar"},
|
|
32 {TOK.Debug, "debug"},
|
|
33 {TOK.Default, "default"},
|
|
34 {TOK.Delegate, "delegate"},
|
|
35 {TOK.Delete, "delete"},
|
|
36 {TOK.Deprecated, "deprecated"},
|
|
37 {TOK.Do, "do"},
|
|
38 {TOK.Double, "double"},
|
|
39 {TOK.Else, "else"},
|
|
40 {TOK.Enum, "enum"},
|
|
41 {TOK.Export, "export"},
|
|
42 {TOK.Extern, "extern"},
|
|
43 {TOK.False, "false"},
|
|
44 {TOK.Final, "final"},
|
|
45 {TOK.Finally, "finally"},
|
|
46 {TOK.Float, "float"},
|
|
47 {TOK.For, "for"},
|
|
48 {TOK.Foreach, "foreach"},
|
|
49 {TOK.Foreach_reverse, "foreach_reverse"},
|
|
50 {TOK.Function, "function"},
|
|
51 {TOK.Goto, "goto"},
|
|
52 {TOK.Idouble, "idouble"},
|
|
53 {TOK.If, "if"},
|
|
54 {TOK.Ifloat, "ifloat"},
|
|
55 {TOK.Import, "import"},
|
|
56 {TOK.In, "in"},
|
|
57 {TOK.Inout, "inout"},
|
|
58 {TOK.Int, "int"},
|
|
59 {TOK.Interface, "interface"},
|
|
60 {TOK.Invariant, "invariant"},
|
|
61 {TOK.Ireal, "ireal"},
|
|
62 {TOK.Is, "is"},
|
|
63 {TOK.Lazy, "lazy"},
|
|
64 {TOK.Long, "long"},
|
|
65 {TOK.Macro, "macro"},
|
|
66 {TOK.Mixin, "mixin"},
|
|
67 {TOK.Module, "module"},
|
|
68 {TOK.New, "new"},
|
|
69 {TOK.Null, "null"},
|
|
70 {TOK.Out, "out"},
|
|
71 {TOK.Override, "override"},
|
|
72 {TOK.Package, "package"},
|
|
73 {TOK.Pragma, "pragma"},
|
|
74 {TOK.Private, "private"},
|
|
75 {TOK.Protected, "protected"},
|
|
76 {TOK.Public, "public"},
|
|
77 {TOK.Real, "real"},
|
|
78 {TOK.Ref, "ref"},
|
|
79 {TOK.Return, "return"},
|
|
80 {TOK.Scope, "scope"},
|
|
81 {TOK.Short, "short"},
|
|
82 {TOK.Static, "static"},
|
|
83 {TOK.Struct, "struct"},
|
|
84 {TOK.Super, "super"},
|
|
85 {TOK.Switch, "switch"},
|
|
86 {TOK.Synchronized, "synchronized"},
|
|
87 {TOK.Template, "template"},
|
|
88 {TOK.This, "this"},
|
|
89 {TOK.Throw, "throw"},
|
|
90 {TOK.True, "true"},
|
|
91 {TOK.Try, "try"},
|
|
92 {TOK.Typedef, "typedef"},
|
|
93 {TOK.Typeid, "typeid"},
|
|
94 {TOK.Typeof, "typeof"},
|
|
95 {TOK.Ubyte, "ubyte"},
|
|
96 {TOK.Ucent, "ucent"},
|
|
97 {TOK.Uint, "uint"},
|
|
98 {TOK.Ulong, "ulong"},
|
|
99 {TOK.Union, "union"},
|
|
100 {TOK.Unittest, "unittest"},
|
|
101 {TOK.Ushort, "ushort"},
|
|
102 {TOK.Version, "version"},
|
|
103 {TOK.Void, "void"},
|
|
104 {TOK.Volatile, "volatile"},
|
|
105 {TOK.Wchar, "wchar"},
|
|
106 {TOK.While, "while"},
|
|
107 {TOK.With, "with"}
|
|
108 ];
|