summaryrefslogtreecommitdiff
path: root/src/astnode.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-21 02:27:51 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-21 02:27:51 -0700
commitda250b9833e9561a996d11058130e8b7eca2369e (patch)
treecc1598a22411ae91a44c793ab25abf0a4efc2be8 /src/astnode.h
parentdf412b348f10ee46830e6e117b4bb0dd3b6b057b (diff)
downloadstage-da250b9833e9561a996d11058130e8b7eca2369e.tar.gz
stage-da250b9833e9561a996d11058130e8b7eca2369e.tar.bz2
stage-da250b9833e9561a996d11058130e8b7eca2369e.tar.xz
stage-da250b9833e9561a996d11058130e8b7eca2369e.zip
Game environment is coming together.
Diffstat (limited to 'src/astnode.h')
-rw-r--r--src/astnode.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/astnode.h b/src/astnode.h
index 3344ca2..a345a56 100644
--- a/src/astnode.h
+++ b/src/astnode.h
@@ -9,6 +9,24 @@ public:
9 AstNode(); 9 AstNode();
10 virtual ~AstNode(); 10 virtual ~AstNode();
11 11
12 enum Type
13 {
14 tValue = 0x01000000,
15 tBranch = 0x02000000,
16 tScope = 0x02000001,
17 tIf = 0x02000002,
18 tElse = 0x02000003,
19 tNot = 0x00000004,
20 tComp = 0x02000005,
21 tCompGt = 0x02000006,
22 tCompLt = 0x02000007,
23 tCompGtEq = 0x02000008,
24 tCompLtEq = 0x02000009,
25 tStore = 0x0200000A,
26 tAnd = 0x0200000B,
27 tOr = 0x0200000C,
28 };
29
12private: 30private:
13}; 31};
14 32