public String toString() {String symbol = "";if (startIndex >= 0 && startIndex < getInputStream().size()) {symbol = getInputStream().getText(Interval.of(startIndex,startIndex));symbol = Utils.escapeWhitespace(symbol, false);}return String.format(Locale.getDefault(), "%s('%s')", LexerNoViableAltException.class.getSimpleName(), symbol);}

public String toString ( ) { String symbol = "" ; if ( startIndex >= 0 && startIndex < getInputStream ( ) . size ( ) ) { symbol = getInputStream ( ) . getText ( Interval . of ( startIndex , startIndex ) ) ; symbol = Utils . escapeWhitespace ( symbol , false ) ; } return String . format ( Locale . getDefault ( ) , "%s('%s')" , LexerNoViableAltException . class . getSimpleName ( ) , symbol ) ; }
public override string ToString(){string symbol = string.Empty;if (startIndex >= 0 && startIndex < ((ICharStream)InputStream).Size){symbol = ((ICharStream)InputStream).GetText(Interval.Of(startIndex, startIndex));symbol = Utils.EscapeWhitespace(symbol, false);}return string.Format(CultureInfo.CurrentCulture, "{0}('{1}')", typeof(Antlr4.Runtime.LexerNoViableAltException).Name, symbol);}
