Is there something to read.

This function returns 'false' if there is something to read.

Property definitions

core $ Reader :: eof
	# Is there something to read.
	# This function returns 'false' if there is something to read.
	fun eof: Bool do
		if lookahead_length > 0 then return false
		lookahead_length = raw_read_bytes(lookahead, 1)
		return lookahead_length <= 0
	end
lib/core/stream.nit:416,2--422,4

core $ BytesReader :: eof
	redef fun eof do return cursor >= bytes.length
lib/core/stream.nit:739,2--47

filter_stream $ FilterReader :: eof
	redef fun eof: Bool
	do
		assert stream != null
		return stream.eof
	end
lib/filter_stream/filter_stream.nit:19,2--23,4

core $ ProcessReader :: eof
	redef fun eof do return stream_in.eof
lib/core/exec.nit:354,2--38

filter_stream $ StreamCat :: eof
	redef fun eof: Bool
	do
		if stream == null then
			return true
		else if stream.eof then
			stream.close
			stream = null
			return eof
		else
			return false
		end
	end
lib/filter_stream/filter_stream.nit:43,2--54,4

core $ FileReader :: eof
	redef fun eof do
		var fl = _file
		if fl == null then return true
		if fl.address_is_null then return true
		if last_error != null then return true
		if super then
			if last_error != null then return true
			return fl.feof
		end
		return false
	end
lib/core/file.nit:145,2--155,4