private ParseException error(String message) { int column=index-lineOffset; int offset=isEndOfText()?index:index-1; return new ParseException(message, offset, line, column-1); }
private ParseException error(String message) { int absIndex=bufferOffset+index; int column=absIndex-lineOffset; int offset=isEndOfText() ? absIndex : absIndex-1; return new ParseException(message, offset, line, column-1); }
private ParseException error(String message) { int absIndex=bufferOffset+index; int column=absIndex-lineOffset; int offset=isEndOfText() ? absIndex : absIndex-1; return new ParseException(message, offset, line, column-1); }
private ParseException error(String message) { int column=index-lineOffset; int offset=isEndOfText()?index:index-1; return new ParseException(message, offset, line, column-1); }