This commit is contained in:
otya128 committed 2015-06-03 19:51:42 +09:00
1 parent fb28e1236d
commit 6673ca3fc2
7 files changed
+449

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
module otya.smilebasic.token;
import otya.smilebasic.type;
enum TokenType
{
Unknown,
Integer,
Double,
String,
Plus,
Minus,
Mul,
Div,
Mod,
Or,
And,
Xor,
Print,
If,
}
struct Token
{
TokenType type;
Value value;
this(TokenType t, Value v)
{
type = t;
value = v;
}
}