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
{{ message }}
Repository navigation
AST: end positions on Span/Token and spans for Block, Param and class members #451
Span carries only the start (line, column, file) of a node. Hover, rename, document symbols, folding and diagnostic underlines need ranges. Block, Param and several class parts have no span at all.
Scope
Append endLine/endColumn to Span and Token (AST field order is load-bearing: append only, keep children() in sync).
Parser sets the end when a node completes (73 span sites).
Spans for Block, Param, class members, attribute groups.
Real source spans (or an explicit synthetic marker) for string-interpolation parts and hoisted anonymous classes.
Acceptance
dump-ast unchanged; no measurable parse-time regression.
A test walks the AST of every file in src/ and checks every node range lies inside its parent range.
Activity