You are here

public function Twig_TokenStream::isEOF in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/TokenStream.php \Twig_TokenStream::isEOF()
  2. 7.2 vendor/Twig/TokenStream.php \Twig_TokenStream::isEOF()

Checks if end of stream was reached

Return value

bool

File

vendor/Twig/TokenStream.php, line 132

Class

Twig_TokenStream
Represents a token stream.

Code

public function isEOF() {
  return $this->tokens[$this->current]
    ->getType() === Twig_Token::EOF_TYPE;
}