You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to write a custom function to return all the variable names available from the current context (it's very valuable for debugging purpose). I can get ScopeChain from EvaluationContext, but there is no method exposed to retrieve all the keys from each Scope's backingMap. I got around this by using Java reflection so far, but it will be nice to have this available from the API.
Thanks,
Zemian
The text was updated successfully, but these errors were encountered:
I second this, not just for debugging purposes. I've implemented a function that allows expression evaluation within my application (it comes with its own expression language); there is currently no way to pass on the scope chain as bindings.
@ebussieres Can we have this please? This seems very trivial to add (just a function) and I don't see any downside of this. I can send a PR but I'm not sure whether you want this supported or not.
Hi,
I want to write a custom function to return all the variable names available from the current context (it's very valuable for debugging purpose). I can get ScopeChain from EvaluationContext, but there is no method exposed to retrieve all the keys from each Scope's backingMap. I got around this by using Java reflection so far, but it will be nice to have this available from the API.
Thanks,
Zemian
The text was updated successfully, but these errors were encountered: