antlr4 icon indicating copy to clipboard operation
antlr4 copied to clipboard

ruleIndex property missing in ParserRuleContext itypescript type

Open goldsam opened this issue 1 year ago • 2 comments
trafficstars

Typescript type ParserRuleContext is missing property ruleIndex in v4.13.2.

As far as I can tell, this is intended to be part of the public API.

goldsam avatar Aug 05 '24 21:08 goldsam

Try the antlr4ng TS runtime, which has all that exported and is generally more feature complete and faster than the standard TS runtime (which is in fact only a JS runtime with types).

mike-lischke avatar Oct 08 '24 10:10 mike-lischke

Please submit a PR to have this added .

ericvergnaud avatar Oct 08 '24 12:10 ericvergnaud