void IParserNodeVisitor.VisitCheckNot(ParserNode.CheckNot checkNot) { if (_currState.PrevNode == checkNot.Parent) { _currState = _currState.EnterNode(checkNot.Child, true); } else if (_currState.PrevNode == checkNot.Child) { _currState = _currState.ExitNode(!_currState.LastTerminalFailed.Value); } else { throw new InvalidOperationException(); } }
public void VisitCheckNot(ParserNode.CheckNot checkNot) { this.LogLine("{0}", checkNot); _v.VisitCheckNot(checkNot); }
void IParserNodeVisitor.VisitCheckNot(ParserNode.CheckNot checkNot) { this.PrintNode(checkNot); }