You are here

public function Twig_ExpressionParser::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/ExpressionParser.php \Twig_ExpressionParser::__construct()

File

vendor/twig/twig/lib/Twig/ExpressionParser.php, line 32

Class

Twig_ExpressionParser
Parses expressions.

Code

public function __construct(Twig_Parser $parser, array $unaryOperators, array $binaryOperators) {
  $this->parser = $parser;
  $this->unaryOperators = $unaryOperators;
  $this->binaryOperators = $binaryOperators;
}