public function Twig_Parser::getCurrentToken

Gets the current token.

Return value

Twig_Token The current token

1 call to Twig_Parser::getCurrentToken()
Twig_Parser::subparse in drupal/core/vendor/twig/twig/lib/Twig/Parser.php

File

drupal/core/vendor/twig/twig/lib/Twig/Parser.php, line 347

Class

Twig_Parser
Default parser implementation.

Code

public function getCurrentToken() {
  return $this->stream
    ->getCurrent();
}