MCPcopy
hub / github.com/antlr/antlr4 / exitRule

Method exitRule

runtime/JavaScript/src/antlr4/Parser.js:390–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

388 }
389
390 exitRule() {
391 this._ctx.stop = this._input.LT(-1);
392 // trigger event on _ctx, before it reverts to parent
393 this.triggerExitRuleEvent();
394 this.state = this._ctx.invokingState;
395 this._ctx = this._ctx.parentCtx;
396 }
397
398 enterOuterAlt(localctx, altNum) {
399 localctx.setAltNumber(altNum);

Callers 1

triggerExitRuleEventMethod · 0.45

Calls 2

triggerExitRuleEventMethod · 0.95
LTMethod · 0.65

Tested by

no test coverage detected