This PR fixes some location information the Parser assigns to nodes in the AST. This enables accurate reproduction of the original source code represented by each AST node.
The motivation here is to enable prettier-plugin-twig-melody to implement <!-- prettier-ignore --> comments.
This PR fixes some location information the Parser assigns to nodes in the AST. This enables accurate reproduction of the original source code represented by each AST node.
The motivation here is to enable
prettier-plugin-twig-melody
to implement<!-- prettier-ignore -->
comments.