fantomas icon indicating copy to clipboard operation
fantomas copied to clipboard

Use SourceParser more in ASTTransformer

Open nojaf opened this issue 3 years ago • 0 comments

As the vast majority of CodePrinter is using active patterns from SourceParser to walk the tree, it makes a lot of sense to update ASTTransformer to also limit itself to these active patterns in SourceParser.

Only the trivia nodes that will be walked will be captured in ASTTransformer and so fixing a bug in that area will become easier.

nojaf avatar Feb 11 '22 08:02 nojaf