summaryrefslogtreecommitdiff
path: root/src/expression.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-07-15 01:57:55 (GMT)
committerMarius Kintel <marius@kintel.net>2012-07-15 01:57:55 (GMT)
commit13557f1f9a44caccb0546717065ed72c27a210b3 (patch)
treed0ed7bd176d7c0b052431cb99efd358602d6b6bb /src/expression.h
parent38a4585d1a9abe9c779c5d0677bfc81c407db371 (diff)
parent2495df6bab07f14f0eed7062dec17d24599aa838 (diff)
Merge branch 'timestamp-cache'
Diffstat (limited to 'src/expression.h')
-rw-r--r--src/expression.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/expression.h b/src/expression.h
index acbd6aa..2919b78 100644
--- a/src/expression.h
+++ b/src/expression.h
@@ -3,13 +3,14 @@
#include <string>
#include <vector>
+#include "value.h"
class Expression
{
public:
std::vector<Expression*> children;
- class Value *const_value;
+ const Value const_value;
std::string var_name;
std::string call_funcname;
@@ -31,6 +32,7 @@ public:
std::string type;
Expression();
+ Expression(const Value &val);
~Expression();
Value evaluate(const class Context *context) const;
contact: Jan Huwald // Impressum