parrt/antlr4 — pull request #54 by sharwell (2012-03-26 04:05:14+00:00)
Title: Override getRuleIndex

Override `getRuleIndex` in generated context classes instead of manually tracking it as a field in `ParserRuleContext`. Saves 1 field per context object and slightly improves performance of `enterRule`.