You are here

public function Twig_Extension_Core::parseNotTestExpression in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Extension/Core.php \Twig_Extension_Core::parseNotTestExpression()

File

vendor/Twig/Extension/Core.php, line 293

Class

Twig_Extension_Core

Code

public function parseNotTestExpression(Twig_Parser $parser, Twig_NodeInterface $node) {
  return new Twig_Node_Expression_Unary_Not($this
    ->parseTestExpression($parser, $node), $parser
    ->getCurrentToken()
    ->getLine());
}