peek() peek() : \QueryPath\CSS\char Look ahead one character. Returns \QueryPath\CSS\char — Returns the next character, but does not remove it from the stream.
consume() consume() Get the next unconsumed character in the stream. This will remove that character from the front of the stream and return it.
isEmpty() isEmpty() : boolean Check if the stream is empty. Returns boolean — Returns TRUE when the stream is empty, FALSE otherwise.