Using Span to get the token location is exactly what I needed! Thanks. I wrote a blog post[0] the other day about making a css macro that compiles into rust for the use in Yew, a front end react like framework.
> However, in rust, there’s no way to differentiate .a.b with .a .b
Now I know that the above is incorrect. I would have never thought of spans so I thank you again
> However, in rust, there’s no way to differentiate .a.b with .a .b
Now I know that the above is incorrect. I would have never thought of spans so I thank you again
[0] https://conradludgate.com/posts/yew-css/#what-are-the-downsi...