mike-lischke / antlr4ng

Next Generation TypeScript runtime for ANTLR4
Other
66 stars 11 forks source link

How to perform tree pattern matching? #12

Closed khawarizmus closed 4 months ago

khawarizmus commented 7 months ago

I was looking at the available documentation offered by Antlr and came across Tree pattern matching which I find useful.

However, after trying to replicate the example I couldn't figure out how to do it. and the method compileParseTreePattern doesn't seem to be implemented in this package.

Can you provide us with a minimal example? assuming that is possible with the current version

mike-lischke commented 7 months ago

This is a part which has not been implemented.