public void pushNewRecursionContext(ParserRuleContext localctx, int state, int ruleIndex) {ParserRuleContext previous = _ctx;previous.parent = localctx;previous.invokingState = state;previous.stop = _input.LT(-1);_ctx = localctx;_ctx.start = previous.start;if (_buildParseTrees) {_ctx.addChild(previous);}if ( _parseListeners != null ) {triggerEnterRuleEvent(); }}
public virtual void PushNewRecursionContext(ParserRuleContext localctx, int state, int ruleIndex){ParserRuleContext previous = _ctx;previous.Parent = localctx;previous.invokingState = state;previous.Stop = _input.LT(-1);_ctx = localctx;_ctx.Start = previous.Start;if (_buildParseTrees){_ctx.AddChild(previous);}if (_parseListeners != null){TriggerEnterRuleEvent();}}