I consider each node to have a "donut range": the node's outer range (with all possibly-associated trivia), and its inner range which contains no leading or trailing trivia. We will need the grammar to help use identify the donut range, which is essentially just the outer range with the inner range excluded.
To define donut ranges I expect to have to add four new commands:
I consider each node to have a "donut range": the node's outer range (with all possibly-associated trivia), and its inner range which contains no leading or trailing trivia. We will need the grammar to help use identify the donut range, which is essentially just the outer range with the inner range excluded.
To define donut ranges I expect to have to add four new commands: