public function Twig_TokenStream::isEOF in Translation template extractor 7.2
Same name and namespace in other branches
- 6.3 vendor/Twig/TokenStream.php \Twig_TokenStream::isEOF()
- 7.3 vendor/Twig/TokenStream.php \Twig_TokenStream::isEOF()
Checks if end of stream was reached
Return value
Boolean
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;
}