dst icon indicating copy to clipboard operation
dst copied to clipboard

Why the interface `dst.Node` remove the mth `Pos()` and `End()` from `ast.Node` ?

Open fumeboy opened this issue 3 years ago • 1 comments

it is hard to move the existed code based on go/ast to dst .

fumeboy avatar Jul 20 '21 05:07 fumeboy

The position of the node is just the position in the input file. As soon as the dst is modified, this would be incorrect...

dave avatar Jul 20 '21 07:07 dave