diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-16T18·51+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-17T14·11+0000 |
commit | 337d670d0c0e47622c23fb5c9681df4e4a7048a1 (patch) | |
tree | 5f3b253fe0854f78ecaaa81954f6c7d60237682b /third_party/exwm | |
parent | 3a67a140093335e93cee560c1d2f9873035ffa95 (diff) |
feat(tvix/eval): introduce `ToSpan` trait in compiler module r/4883
This trait can be used to convert most structures from rnix-parser into a codemap::Span. It uses a macro to implement the trait for the various expression types in the rnix AST, as Rust's silly semantic versioning restriction stops us from doing a blanket implementation. This will be used in the next commit to clean up the span handling in the compiler a bit. Change-Id: I0a437034e5fa203b5a49c6f25c45932a9f3b2bca Reviewed-on: https://cl.tvl.fyi/c/depot/+/6615 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'third_party/exwm')
0 files changed, 0 insertions, 0 deletions