Home
last modified time | relevance | path

Searched refs:ConstantExpression (Results 1 – 25 of 54) sorted by relevance

123

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DFilterTest.php13 use Twig\Node\Expression\ConstantExpression; alias
23 $expr = new ConstantExpression('foo', 1);
24 $name = new ConstantExpression('upper', 1);
41 $expr = new ConstantExpression('foo', 1);
43 …Filter($node, 'number_format', [new ConstantExpression(2, 1), new ConstantExpression('.', 1), new
52 $date = new ConstantExpression(0, 1);
60 $date = new ConstantExpression(0, 1);
101 new ConstantExpression('1', 1),
102 new ConstantExpression('2', 1),
103 new ConstantExpression('3', 1),
[all …]
H A DFunctionTest.php13 use Twig\Node\Expression\ConstantExpression; alias
45 …$node = $this->createFunction('foo', [new ConstantExpression('bar', 1), new ConstantExpression('fo…
51 $node = $this->createFunction('bar', [new ConstantExpression('bar', 1)]);
57 $node = $this->createFunction('foofoo', [new ConstantExpression('bar', 1)]);
63 $node = $this->createFunction('foobar', [new ConstantExpression('bar', 1)]);
68 'timezone' => new ConstantExpression('America/Chicago', 1),
69 'date' => new ConstantExpression(0, 1),
84 new ConstantExpression('1', 1),
85 new ConstantExpression('2', 1),
86 new ConstantExpression('3', 1),
[all …]
H A DTestTest.php13 use Twig\Node\Expression\ConstantExpression; alias
24 $expr = new ConstantExpression('foo', 1);
25 $name = new ConstantExpression('null', 1);
41 $expr = new ConstantExpression('foo', 1);
47 …$node = $this->createTest(new ConstantExpression('foo', 1), 'anonymous', [new ConstantExpression('…
52 $string = new ConstantExpression('abc', 1);
56 $node = $this->createTest($string, 'barbar', ['foo' => new ConstantExpression('bar', 1)]);
63 new ConstantExpression('1', 1),
64 new ConstantExpression('2', 1),
65 new ConstantExpression('3', 1),
[all …]
H A DArrayTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $elements = [new ConstantExpression('foo', 1), $foo = new ConstantExpression('bar', 1)];
29 new ConstantExpression('foo', 1),
30 new ConstantExpression('bar', 1),
32 new ConstantExpression('bar', 1),
33 new ConstantExpression('foo', 1),
H A DConditionalTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $expr1 = new ConstantExpression(1, 1);
21 $expr2 = new ConstantExpression(2, 1);
22 $expr3 = new ConstantExpression(3, 1);
34 $expr1 = new ConstantExpression(1, 1);
35 $expr2 = new ConstantExpression(2, 1);
36 $expr3 = new ConstantExpression(3, 1);
H A DGetAttrTest.php13 use Twig\Node\Expression\ConstantExpression; alias
24 $attr = new ConstantExpression('bar', 1);
27 $args->addElement(new ConstantExpression('bar', 1));
41 $attr = new ConstantExpression('bar', 1);
51 $args->addElement(new ConstantExpression('bar', 1));
H A DConstantTest.php12 use Twig\Node\Expression\ConstantExpression; alias
19 $node = new ConstantExpression('foo', 1);
28 $node = new ConstantExpression('foo', 1);
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DExpressionParserTest.php15 use Twig\Node\Expression\ConstantExpression; alias
89 new ConstantExpression(0, 1),
90 new ConstantExpression(1, 1),
92 new ConstantExpression(1, 1),
93 new ConstantExpression(2, 1),
99 new ConstantExpression(0, 1),
100 new ConstantExpression(1, 1),
102 new ConstantExpression(1, 1),
103 new ConstantExpression(2, 1),
129 new ConstantExpression(0, 1),
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
H A DIncludeTest.php14 use Twig\Node\Expression\ConstantExpression; alias
22 $expr = new ConstantExpression('foo.twig', 1);
29 …$vars = new ArrayExpression([new ConstantExpression('foo', 1), new ConstantExpression(true, 1)], 1…
39 $expr = new ConstantExpression('foo.twig', 1);
48 new ConstantExpression(true, 1),
49 new ConstantExpression('foo', 1),
50 new ConstantExpression('foo', 1),
60 $expr = new ConstantExpression('foo.twig', 1);
61 …$vars = new ArrayExpression([new ConstantExpression('foo', 1), new ConstantExpression(true, 1)], 1…
H A DModuleTest.php15 use Twig\Node\Expression\ConstantExpression; alias
29 $parent = new ConstantExpression('layout.twig', 1);
116 …$import = new ImportNode(new ConstantExpression('foo.twig', 1), new AssignNameExpression('macro', …
119 $extends = new ConstantExpression('layout.twig', 1);
193 …lse, new Node([new AssignNameExpression('foo', 4)]), new Node([new ConstantExpression('foo', 4)]),…
196 new ConstantExpression(true, 2),
197 new ConstantExpression('foo', 2),
198 new ConstantExpression('foo', 2),
H A DIfTest.php12 use Twig\Node\Expression\ConstantExpression; alias
24 new ConstantExpression(true, 1),
43 new ConstantExpression(true, 1),
58 new ConstantExpression(true, 1),
60 new ConstantExpression(false, 1),
77 new ConstantExpression(true, 1),
H A DSetTest.php13 use Twig\Node\Expression\ConstantExpression; alias
26 $values = new Node([new ConstantExpression('foo', 1)], [], 1);
39 $values = new Node([new ConstantExpression('foo', 1)], [], 1);
48 $values = new Node([new PrintNode(new ConstantExpression('foo', 1), 1)], [], 1);
68 $values = new Node([new ConstantExpression('foo', 1), new NameExpression('bar', 1)], [], 1);
H A DDeprecatedTest.php14 use Twig\Node\Expression\ConstantExpression; alias
25 $expr = new ConstantExpression('foo', 1);
35 $expr = new ConstantExpression('This section is deprecated', 1);
46 new ConstantExpression(true, 1),
H A DPrintTest.php12 use Twig\Node\Expression\ConstantExpression; alias
20 $expr = new ConstantExpression('foo', 1);
29 $tests[] = [new PrintNode(new ConstantExpression('foo', 1), 1), "// line 1\necho \"foo\";"];
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/
H A DDivTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $left = new ConstantExpression(1, 1);
21 $right = new ConstantExpression(2, 1);
30 $left = new ConstantExpression(1, 1);
31 $right = new ConstantExpression(2, 1);
H A DFloorDivTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $left = new ConstantExpression(1, 1);
21 $right = new ConstantExpression(2, 1);
30 $left = new ConstantExpression(1, 1);
31 $right = new ConstantExpression(2, 1);
H A DModTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $left = new ConstantExpression(1, 1);
21 $right = new ConstantExpression(2, 1);
30 $left = new ConstantExpression(1, 1);
31 $right = new ConstantExpression(2, 1);
H A DMulTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $left = new ConstantExpression(1, 1);
21 $right = new ConstantExpression(2, 1);
30 $left = new ConstantExpression(1, 1);
31 $right = new ConstantExpression(2, 1);
H A DOrTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $left = new ConstantExpression(1, 1);
21 $right = new ConstantExpression(2, 1);
30 $left = new ConstantExpression(1, 1);
31 $right = new ConstantExpression(2, 1);
H A DAddTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $left = new ConstantExpression(1, 1);
21 $right = new ConstantExpression(2, 1);
30 $left = new ConstantExpression(1, 1);
31 $right = new ConstantExpression(2, 1);
H A DAndTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $left = new ConstantExpression(1, 1);
21 $right = new ConstantExpression(2, 1);
30 $left = new ConstantExpression(1, 1);
31 $right = new ConstantExpression(2, 1);
H A DConcatTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $left = new ConstantExpression(1, 1);
21 $right = new ConstantExpression(2, 1);
30 $left = new ConstantExpression(1, 1);
31 $right = new ConstantExpression(2, 1);
H A DSubTest.php13 use Twig\Node\Expression\ConstantExpression; alias
20 $left = new ConstantExpression(1, 1);
21 $right = new ConstantExpression(2, 1);
30 $left = new ConstantExpression(1, 1);
31 $right = new ConstantExpression(2, 1);
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/Filter/
H A DDefaultFilter.php16 use Twig\Node\Expression\ConstantExpression; alias
32 …public function __construct(\Twig_NodeInterface $node, ConstantExpression $filterName, \Twig_NodeI…
34 …$default = new FilterExpression($node, new ConstantExpression('default', $node->getTemplateLine())…
38 …$false = \count($arguments) ? $arguments->getNode(0) : new ConstantExpression('', $node->getTempla…
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/Unary/
H A DPosTest.php12 use Twig\Node\Expression\ConstantExpression; alias
20 $expr = new ConstantExpression(1, 1);
28 $node = new ConstantExpression(1, 1);

123