Replies: 1 comment 1 reply
-
You need to clone the whole |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a JavaScript expression like:
(-2473 * -2 + 17 * 447 + -12264)
I want to evaluate it to a value (f64) from an
Expr
. I found theEvaluator
struct but I'm not sure how to use it. Here's what I've tried:However the result is
None
. How can I evaluate an expression like this? I want to do it in a visitor, so I don't have access to aModule
, and the input is also a script, not a module.Beta Was this translation helpful? Give feedback.
All reactions