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
It looks like the lexer discards the whitespace. This should not be discarded and rather sent to other hidden channel.
This results in loss of information. Downsides:
Cannot reconstruct the exact original source from the parse tree
Build accurate code formatters
Develop linters that understand whitespace context
Activity
sshailabh commentedon Oct 5, 2025
@jknack Could you please review the enhancement for re-constructing source content without loss? pr: #1169
Thank you
Whitespace is discarded in token stream