Code example for LineNumberReader

Methods: getLineNumber

0
			return peeked;
		} 
	} 
	 
	public int lineNumber() { 
		return lineReader.getLineNumber() + 1; // these start at zero!
	} 
	 
	public String currentLine() {
		return current_line.toString();
	} 
	 
	public void resetCurrentLine() { 
		current_line = new StringBuffer();
	} 
}