From da250b9833e9561a996d11058130e8b7eca2369e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 21 Dec 2011 02:27:51 -0700 Subject: Game environment is coming together. --- src/astnode.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/astnode.h') 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: AstNode(); virtual ~AstNode(); + enum Type + { + tValue = 0x01000000, + tBranch = 0x02000000, + tScope = 0x02000001, + tIf = 0x02000002, + tElse = 0x02000003, + tNot = 0x00000004, + tComp = 0x02000005, + tCompGt = 0x02000006, + tCompLt = 0x02000007, + tCompGtEq = 0x02000008, + tCompLtEq = 0x02000009, + tStore = 0x0200000A, + tAnd = 0x0200000B, + tOr = 0x0200000C, + }; + private: }; -- cgit v1.2.3