public int readNext(int offset, boolean ignoreComments) throws CoreException { setOffset(offset); return readNext(ignoreComments);
public int readNext(boolean ignoreComments) throws CoreException { int curr= 0; do { try { curr= fScanner.getNextToken(); if (curr == ITerminalSymbols.TokenNameEOF) { throw new CoreException(JavaUIStatus.createError(END_OF_FILE, "End Of File", null)); } } catch (InvalidInputException e) { throw new CoreException(JavaUIStatus.createError(LEXICAL_ERROR, e.getMessage(), e)); } } while (ignoreComments && isComment(curr)); return curr;
	public int readNext(int offset, boolean ignoreComments) throws CoreException {		setOffset(offset);		return readNext(ignoreComments);	}