Lines Matching refs:node

18         $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
19 …$this->assertEquals(['U', null], $node->getArguments('date', ['format' => 'U', 'timestamp' => null…
28 $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
29 $node->getArguments('date', ['timestamp' => 123456, 'Y-m-d']);
38 $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
39 $node->getArguments('date', ['Y-m-d', 'format' => 'U']);
48 $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
49 $node->getArguments('date', ['Y-m-d', 'timestamp' => null, 'unknown' => '']);
58 $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
59 … $node->getArguments('date', ['Y-m-d', 'timestamp' => null, 'unknown1' => '', 'unknown2' => '']);
68 …$node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'substr_compare']…
69 … $node->getArguments('substr_compare', ['abcd', 'bc', 'offset' => 1, 'case_sensitivity' => true]);
74 …$node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'custom_function'…
76 … $this->assertEquals(['arg1'], $node->getArguments([$this, 'customFunction'], ['arg1' => 'arg1']));
81 …$node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'custom_static_fu…
82 …$this->assertEquals(['arg1'], $node->getArguments(__CLASS__.'::customStaticFunction', ['arg1' => '…
91 …$node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'foo', 'is_variad…
92 $node->getArguments([$this, 'customFunctionWithArbitraryArguments'], []);
113 …$node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'foo', 'is_variad…
114 $node->getArguments('custom_Twig_Tests_Node_Expression_CallTest_function', []);
123 …$node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'foo', 'is_variad…
124 $node->getArguments(new CallableTestClass(), []);