You are here

public function Twig_Extension_Core::parseNotTestExpression in Zircon Profile 8

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

File

vendor/twig/twig/lib/Twig/Extension/Core.php, line 268

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());
}