diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-24 01:08:21 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-24 01:08:21 -0700 |
commit | 32c32bc48c8fd7cffca301b8919fb26726f6467e (patch) | |
tree | fbe58058531f253e4e351312f87e8276ce087c31 /src/astleaf.h | |
parent | d7c0a793787eaf52c4302d6d1ea6cc43f7ff9ca7 (diff) | |
download | stage-32c32bc48c8fd7cffca301b8919fb26726f6467e.tar.gz stage-32c32bc48c8fd7cffca301b8919fb26726f6467e.tar.bz2 stage-32c32bc48c8fd7cffca301b8919fb26726f6467e.tar.xz stage-32c32bc48c8fd7cffca301b8919fb26726f6467e.zip |
Ast nearly done, builder coming along.
Diffstat (limited to 'src/astleaf.h')
-rw-r--r-- | src/astleaf.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/astleaf.h b/src/astleaf.h new file mode 100644 index 0000000..7cc9dda --- /dev/null +++ b/src/astleaf.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #ifndef AST_LEAF_H | ||
2 | #define AST_LEAF_H | ||
3 | |||
4 | #include "astnode.h" | ||
5 | #include "variable.h" | ||
6 | |||
7 | class AstLeaf : public AstNode | ||
8 | { | ||
9 | public: | ||
10 | AstLeaf( Type eType ); | ||
11 | virtual ~AstLeaf(); | ||
12 | |||
13 | private: | ||
14 | Variable vValue; | ||
15 | }; | ||
16 | |||
17 | #endif | ||