Exemple #1
0
 public function __construct(IfwPsn_Vendor_Twig_Node_Expression $node, $method, IfwPsn_Vendor_Twig_Node_Expression_Array $arguments, $lineno)
 {
     parent::__construct(array('node' => $node, 'arguments' => $arguments), array('method' => $method, 'safe' => false), $lineno);
     if ($node instanceof IfwPsn_Vendor_Twig_Node_Expression_Name) {
         $node->setAttribute('always_defined', true);
     }
 }
Exemple #2
0
 public function addElement(IfwPsn_Vendor_Twig_Node_Expression $value, IfwPsn_Vendor_Twig_Node_Expression $key = null)
 {
     if (null === $key) {
         $key = new IfwPsn_Vendor_Twig_Node_Expression_Constant(++$this->index, $value->getLine());
     }
     array_push($this->nodes, $key, $value);
 }
Exemple #3
0
 public function __construct(IfwPsn_Vendor_Twig_NodeInterface $left, IfwPsn_Vendor_Twig_NodeInterface $right, $lineno)
 {
     parent::__construct(array('left' => $left, 'right' => $right), array(), $lineno);
 }
Exemple #4
0
 public function __construct($value, $lineno)
 {
     parent::__construct(array(), array('value' => $value), $lineno);
 }
Exemple #5
0
 public function __construct($name, $lineno)
 {
     parent::__construct(array(), array('name' => $name, 'is_defined_test' => false, 'ignore_strict_check' => false, 'always_defined' => false), $lineno);
 }
Exemple #6
0
 public function __construct(IfwPsn_Vendor_Twig_NodeInterface $node, $lineno)
 {
     parent::__construct(array('node' => $node), array(), $lineno);
 }
Exemple #7
0
 public function __construct(IfwPsn_Vendor_Twig_Node_Expression $expr1, IfwPsn_Vendor_Twig_Node_Expression $expr2, IfwPsn_Vendor_Twig_Node_Expression $expr3, $lineno)
 {
     parent::__construct(array('expr1' => $expr1, 'expr2' => $expr2, 'expr3' => $expr3), array(), $lineno);
 }
Exemple #8
0
 public function __construct($name, $lineno, $tag = null)
 {
     parent::__construct(array(), array('output' => false, 'name' => $name), $lineno, $tag);
 }
Exemple #9
0
 public function __construct($name, $lineno)
 {
     parent::__construct(array(), array('name' => $name), $lineno);
 }
Exemple #10
0
 public function __construct(IfwPsn_Vendor_Twig_NodeInterface $name, $asString = false, $lineno, $tag = null)
 {
     parent::__construct(array('name' => $name), array('as_string' => $asString, 'output' => false), $lineno, $tag);
 }
Exemple #11
0
 public function __construct(IfwPsn_Vendor_Twig_Node_Expression $node, IfwPsn_Vendor_Twig_Node_Expression $attribute, IfwPsn_Vendor_Twig_Node_Expression_Array $arguments, $type, $lineno)
 {
     parent::__construct(array('node' => $node, 'attribute' => $attribute, 'arguments' => $arguments), array('type' => $type, 'is_defined_test' => false, 'ignore_strict_check' => false, 'disable_c_ext' => false), $lineno);
 }