diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-21 02:27:51 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-21 02:27:51 -0700 |
commit | da250b9833e9561a996d11058130e8b7eca2369e (patch) | |
tree | cc1598a22411ae91a44c793ab25abf0a4efc2be8 /src/astnode.h | |
parent | df412b348f10ee46830e6e117b4bb0dd3b6b057b (diff) | |
download | stage-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.h | 18 |
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 | |||
12 | private: | 30 | private: |
13 | }; | 31 | }; |
14 | 32 | ||