chumsky
chumsky copied to clipboard
[Feature request] Pratt parsing with spans
When using the new pratt parsing feature, how would I create a syntax tree which includes spans?
e.g. How does one get spans that include the operators? And how does one get the spans of the operators themselves? https://github.com/zesterer/chumsky/blob/01b96cd643e4b47b36ee76baa57294d2153965f7/src/pratt.rs#L709-L719