comparison trunk/src/Token.d @ 0:8ba2570de175

Initial import.
author aziz
date Mon, 28 May 2007 19:03:02 +0000
parents
children 4bbce78bfb1e
comparison
equal deleted inserted replaced
-1:000000000000 0:8ba2570de175
1 /++
2 Author: Aziz Köksal
3 License: GPL2
4 +/
5 module Token;
6
7 struct Position
8 {
9 size_t loc;
10 size_t col;
11 }
12
13 struct Token
14 {
15 enum Type
16 {
17
18 }
19
20 Type type;
21 Position pos;
22
23 union
24 {
25 char[] str;
26 float f;
27 double d;
28 }
29 }