diff options
| author | Mel <einebeere@gmail.com> | 2021-10-22 00:24:46 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2021-10-22 00:24:46 +0200 |
| commit | ce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d (patch) | |
| tree | 45addff80a470ecfb381afe17e93400766618b20 /src/interpret | |
| parent | a134a21ba621d4c5222ac91fcf4543fb8660dc0c (diff) | |
| download | rabbithole-ce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d.tar.zst rabbithole-ce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d.zip | |
Split execution modes
Diffstat (limited to 'src/interpret')
| -rw-r--r-- | src/interpret/walker.rs | 2 |
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 { |
