public override void Visit(Fatal expression) { terminal.Peek().AppendFormat("/Fatal<'{0}'>", Regex.Replace(expression.Message, "'", @"\'")); }
public override void Visit(Fatal expression) { _matchStack.Push( delegate(IInputIterator iterator) { Exception fatal = new ParsingFatalTerminalException(expression.Message); fatal.Data.Add("Iterator.Position", iterator.Index); throw fatal; } ); }
public abstract void Visit(Fatal expression);