This is a very specific feature that I needed to avoid repetition.
Since it was made to solve a very particular problem, feel free to close this ticket without accepting it, if you feel so.
I needed to analyze the AST before walking through the nodes, since I had the source, and the esprima's generated ast, it fell redundant to let falafel generate the AST again, so this pull request is only a way of using the options to provide an AST to falafel.
Allow falafel to accept a parsed ast
Dont mess with whitespaces
The AST passed in must have range attached to each node. There must be a check done to see if there is range attached to the passed in AST.
I would need either this or #33. Any chance of getting a maintainer to merge either one in?