PageRenderTime 128ms CodeModel.GetById 116ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 1ms

/tools/dscribe/tokens.d

http://github.com/wilkie/djehuty
D | 195 lines | 180 code | 15 blank | 0 comment | 0 complexity | cd2b85638c7e8b0b1d5510551c724bde MD5 | raw file
  1module tools.dscribe.tokens;
  2
  3enum Lex {
  4	StringLiteral,
  5	
  6	Operator,
  7	Delimiter,
  8
  9	DoubleQuotedString,
 10	WysiwygString,
 11
 12	CommentLine,
 13
 14	CommentBlock,
 15	Comment,
 16
 17	CommentNestedStart,
 18	CommentNestedEnd,
 19
 20	Whitespace,
 21
 22	Identifier,
 23
 24	IntegerLiteral,
 25
 26	OctalLiteral,
 27	BinaryLiteral,
 28	HexLiteral,
 29	
 30	FloatLiteral,
 31
 32	HexFloat,
 33	DecimalFloat,
 34	IntegerFloat,
 35
 36	SpecialLine,
 37
 38	Div,
 39	DivAssign,
 40	Dot,
 41	DotDot,
 42	DotDotDot,
 43	And,
 44	AndAssign,
 45	AndAnd,
 46	Or,
 47	OrAssign,
 48	OrOr,
 49	Sub,
 50	SubAssign,
 51	SubSub,
 52	Add,
 53	AddAssign,
 54	AddAdd,
 55	LessThan,
 56	LessOrEqual,
 57	NotEqual,
 58	GreaterThan,
 59	GreaterOrEqual,
 60	Equal,
 61	Tautology,
 62	UnorderedLessThan,
 63	UnorderedLessOrEqual,
 64	UnorderedNotEqual,
 65	UnorderedGreaterThan,
 66	UnorderedGreaterOrEqual,
 67	UnorderedEqual,
 68	UnorderedContradiction,
 69	LeftShift,
 70	LeftShiftAssign,
 71	RightShiftAssign,
 72	RightShiftUnsignedAssign,
 73	RightShift,
 74	RightShiftUnsigned,
 75	Bang,
 76	LeftParen,
 77	RightParen,
 78	LeftBrace,
 79	RightBrace,
 80	LeftCurly,
 81	RightCurly,
 82	QuestionMark,
 83	Comma,
 84	Semicolon,
 85	Colon,
 86	Dollar,
 87	Assign,
 88	Mul,
 89	MulAssign,
 90	Mod,
 91	ModAssign,
 92	Xor,
 93	XorAssign,
 94	Cat,
 95	CatAssign,
 96
 97	Abstract,
 98	Alias,
 99	Align,
100	Asm,
101	Assert,
102	Auto,
103	Body,
104	Bool,
105	Break,
106	Byte,
107	Case,
108	Cast,
109	Catch,
110	Cdouble,
111	Cent,
112	Cfloat,
113	Char,
114	Class,
115	Const,
116	Continue,
117	Creal,
118	Dchar,
119	Debug,
120	Default,
121	Delegate,
122	Delete,
123	Deprecated,
124	Do,
125	Double,
126	Else,
127	Enum,
128	Export,
129	Extern,
130	False,
131	Final,
132	Finally,
133	Float,
134	For,
135	Foreach,
136	Foreach_reverse,
137	Function,
138	Goto,
139	Idouble,
140	If,
141	Ifloat,
142	Import,
143	In,
144	Inout,
145	Int,
146	Interface,
147	Invariant,
148	Ireal,
149	Is,
150	Lazy,
151	Long,
152	Macro,
153	Mixin,
154	Module,
155	New,
156	Null,
157	Out,
158	Override,
159	Package,
160	Pragma,
161	Private,
162	Protected,
163	Public,
164	Real,
165	Ref,
166	Return,
167	Scope,
168	Short,
169	Static,
170	Struct,
171	Super,
172	Switch,
173	Synchronized,
174	Template,
175	This,
176	Throw,
177	True,
178	Try,
179	Typedef,
180	Typeid,
181	Typeof,
182	Ubyte,
183	Ucent,
184	Uint,
185	Ulong,
186	Union,
187	Unittest,
188	Ushort,
189	Version,
190	Void,
191	Volatile,
192	Wchar,
193	While,
194	With,
195}