Checks if end of stream was reached
bool
public function isEOF() { return $this->tokens[$this->current] ->getType() === Twig_Token::EOF_TYPE; }