ParserInterpreter._parentContextStack

@uml This stack corresponds to the _parentctx, _parentState pair of locals that would exist on call stack frames with a recursive descent parser; in the generated function for a left-recursive rule you'd see:

private EContext e(int _p) throws RecognitionException { ParserRuleContext _parentctx = _ctx; // Pair.a int _parentState = getState(); // Pair.b ... }

Those values are used to create new recursive rule invocation contexts associated with left operand of an alt like "expr '*' expr".

class ParserInterpreter
protected
DList!ParentContextPair _parentContextStack;

Meta