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
There is no need to return text from the lexer manually - the lexer already returns a tuple with all the info needed to advance remaining and figure out the span after every token. That way the lexer looks much cleaner.
I can submit a PR if you're interested.
The text was updated successfully, but these errors were encountered:
There is no need to return
text
from the lexer manually - the lexer already returns a tuple with all the info needed to advanceremaining
and figure out the span after every token. That way the lexer looks much cleaner.I can submit a PR if you're interested.
The text was updated successfully, but these errors were encountered: