summaryrefslogtreecommitdiff
path: root/expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'expr.h')
-rw-r--r--expr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/expr.h b/expr.h
index 3cdc77a6..8e1ee19a 100644
--- a/expr.h
+++ b/expr.h
@@ -102,9 +102,13 @@ public:
value_t calc(scope_t& scope) const;
bool is_constant() const;
+ bool is_function() const;
+
value_t& constant_value();
const value_t& constant_value() const;
+ function_t& get_function();
+
void print(std::ostream& out, scope_t& scope) const;
void dump(std::ostream& out) const;
void read(const char *& data);