antlr4
antlr4 copied to clipboard
Create accessor for Go-based IntervalSet.intervals
Target: Go
Unlike the Java version, in the Go-based version of interval_sets, there's no way to access the IntervalSets.intervals field. This field is useful when using Parser.getExpectedTokens(). The alternative is to use IntervalSets#StringVerbose and parse the string returned (which is much more expensive).
PR is here: https://github.com/antlr/antlr4/pull/3800
@parrt Can close this - PR is merged.