antlr4rust
antlr4rust copied to clipboard
XXX_all returns all TerminalNode regardless of type
If there is more than one TerminalNode
type in the child node, XXX_all
cannot obtain the correct leaf node type, and children_of_type
will return all TerminalNode
.
For example, the results returned by STRING_TEXT_all
here include STRING_START
and STRING_END
Can you check that this is not already fix by https://github.com/rrevenantt/antlr4rust/pull/58 ?
Where can I download pre-built jars? I don't know how to build a specific branch version.
This PR is not merged yet, you have no other choice than built it yourself. Github now allow to fetch PR locally : https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally