Michael Hatherly
Michael Hatherly
Hi @kskyten thanks for the PR. I'm happy with leveraging `AbstractTrees` for printing. Could you outline the use case for parameterising on node type? I assume it's for allowing multiple...
> I hadn't thought of the performance implications. I should see how it is done in https://github.com/julia-vscode/CSTParser.jl. I *think* CST used to use a `EXPR{HEAD}` implementation, or something similar. But...
It *can* have a noticeable impact on runtime if you're iterating over a collection of parameterised nodes where each parameter isn't statically known, which will result in dynamic dispatch, though...
@kskyten you're welcome. I agree that interfacing with AbstractTrees would be great, from what I recall it wouldn't actually take that much to make that work, something like a `children`...