summaryrefslogtreecommitdiff
path: root/src/astleafliteral.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-27 00:04:28 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-27 00:04:28 -0700
commitf33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816 (patch)
tree3e62207265b4efbbe1565ea885a615e5a910671c /src/astleafliteral.h
parent32c32bc48c8fd7cffca301b8919fb26726f6467e (diff)
downloadstage-f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816.tar.gz
stage-f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816.tar.bz2
stage-f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816.tar.xz
stage-f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816.zip
Branch building has started.
Diffstat (limited to 'src/astleafliteral.h')
-rw-r--r--src/astleafliteral.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/astleafliteral.h b/src/astleafliteral.h
new file mode 100644
index 0000000..c8867e1
--- /dev/null
+++ b/src/astleafliteral.h
@@ -0,0 +1,22 @@
1#ifndef AST_LEAF_LITERAL_H
2#define AST_LEAF_LITERAL_H
3
4#include "astnode.h"
5#include "variable.h"
6
7class AstLeafLiteral : public AstNode
8{
9friend Bu::Formatter &operator<<( Bu::Formatter &f, const AstLeafLiteral &l );
10public:
11 AstLeafLiteral( const Variable &v );
12 virtual ~AstLeafLiteral();
13
14 const Variable &getValue() const { return vValue; }
15
16private:
17 Variable vValue;
18};
19
20Bu::Formatter &operator<<( Bu::Formatter &f, const AstLeafLiteral &l );
21
22#endif