Closed SnirkImmington closed 5 years ago
This PR rewrites the AST to use a Span type instead of occasionally storing tokens!
Span
Location
lex
Token
This PR rewrites the AST to use a
Span
type instead of occasionally storing tokens!Location
andSpan
inlex
Span
instead of occasionally having tokens, and are sometimes created with a startLocation
(+ children's ending)Span
s instead of a sourceToken
sSpan
info of previous variable definitions