aboutsummaryrefslogtreecommitdiff
path: root/src/interpret
diff options
context:
space:
mode:
Diffstat (limited to 'src/interpret')
-rw-r--r--src/interpret/walker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpret/walker.rs b/src/interpret/walker.rs
index 576cfb5..16f3f1c 100644
--- a/src/interpret/walker.rs
+++ b/src/interpret/walker.rs
@@ -46,7 +46,7 @@ impl Walker {
Ok(result)
}
- fn walk_expression(&mut self, node: &Expression) -> Result<Value> {
+ pub fn walk_expression(&mut self, node: &Expression) -> Result<Value> {
match node {
Expression::Binary { left, op, right } => {
let new_value = match op {