409410411412413414415416417418419
if (tokenId > LAST_ID) { throw new IllegalArgumentException("Token Id out of range: " + tokenId); } mInfo = new SourceInfo(sourceLine, sourceStartPos, sourceEndPos); if (sourceStartPos > sourceEndPos) { // This is an internal error. throw new IllegalArgumentException ("Token start position greater than " +
534535536537538539540541542
private void error(String str, SourceInfo info) { dispatchParseError(new ErrorEvent(this, str, info)); } private void error(String str) { error(str, new SourceInfo(mSource.getLineNumber(), mSource.getStartPosition(), mSource.getEndPosition())); }