syn-rsx icon indicating copy to clipboard operation
syn-rsx copied to clipboard

`NodeValue` struct

Open stoically opened this issue 5 years ago • 0 comments

Currently Node::value is just Option<Expr>. Introducing NodeValue as a wrapper around Expr would allow for a few enhancements, namely

  • Implement TryInto instead of the currently used value_as_* methods on Node
  • Get the span for just the value from NodeValue instead of from Node

stoically avatar Jan 09 '21 11:01 stoically