Home
last modified time | relevance | path

Searched refs:node (Results 426 – 450 of 709) sorted by last modified time

1...<<11121314151617181920>>...29

/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Node/
H A DTrans.php132 foreach ($body as $node) {
133 … if (get_class($node) === 'Twig_Node' && $node->getNode(0) instanceof Twig_Node_SetTemp) {
134 $node = $node->getNode(1);
137 if ($node instanceof Twig_Node_Print) {
138 $n = $node->getNode('expr');
145 $msg .= $node->getAttribute('data');
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/
H A DSimpleTokenParser.php54 …protected function getAttribute($node, $attribute, $arguments = array(), $type = Twig_Node_Express… argument
57 $node instanceof Twig_Node ? $node : new Twig_Node_Expression_Name($node, $line),
65 protected function call($node, $attribute, $arguments = array(), $line = -1) argument
67 …return $this->getAttribute($node, $attribute, $arguments, Twig_Node_Expression_GetAttr::TYPE_METHO…
70 protected function markAsSafe(Twig_Node $node, $line = -1) argument
73 $node,
80 protected function output(Twig_Node $node, $line = -1) argument
82 return new Twig_Node_Print($node, $line);
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/TokenParser/
H A DTrans.php74 foreach ($body as $i => $node) {
76 $node instanceof Twig_Node_Text
78 … ($node instanceof Twig_Node_Print && $node->getNode('expr') instanceof Twig_Node_Expression_Name)
/plugin/findologicxmlexport/vendor/jms/serializer/doc/reference/
H A Dannotations.rst535 | attribute | use an attribute instead of a child node |
537 | cdata | render child node content with or without cdata |
539 | namespace | render child node using the specified namespace |
/plugin/findologicxmlexport/vendor/jms/serializer/src/Handler/
H A DFormErrorHandler.php74 if (null !== $node = $this->serializeFormToXml($visitor, $child, [])) {
75 $formNode->appendChild($node);
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DCompiler.php76 public function compile(\Twig_NodeInterface $node, $indentation = 0) argument
87 if ($node instanceof ModuleNode) {
89 $this->filename = $node->getTemplateName();
92 $node->compile($this);
97 public function subcompile(\Twig_NodeInterface $node, $raw = true) argument
103 $node->compile($this);
215 public function addDebugInfo(\Twig_NodeInterface $node) argument
217 if ($node->getTemplateLine() != $this->lastLine) {
218 $this->write(sprintf("// line %d\n", $node->getTemplateLine()));
232 $this->debugInfo[$this->sourceLine] = $node->getTemplateLine();
[all …]
H A DEnvironment.php775 public function compile(\Twig_NodeInterface $node) argument
781 return $this->compiler->compile($node)->getSource();
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/Test/
H A DDefinedTest.php38 if ($node instanceof NameExpression) {
39 $node->setAttribute('is_defined_test', true);
40 } elseif ($node instanceof GetAttrExpression) {
41 $node->setAttribute('is_defined_test', true);
42 $this->changeIgnoreStrictCheck($node);
44 $node->setAttribute('is_defined_test', true);
45 … } elseif ($node instanceof FunctionExpression && 'constant' === $node->getAttribute('name')) {
46 $node->setAttribute('is_defined_test', true);
47 } elseif ($node instanceof ConstantExpression || $node instanceof ArrayExpression) {
48 $node = new ConstantExpression(true, $node->getTemplateLine());
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/Unary/
H A DAbstractUnary.php20 public function __construct(\Twig_NodeInterface $node, $lineno) argument
22 parent::__construct(['node' => $node], [], $lineno);
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
H A DSetNode.php50 foreach ($this->getNode('names') as $idx => $node) {
55 $compiler->subcompile($node);
/plugin/findologicxmlexport/vendor/twig/twig/src/NodeVisitor/
H A DAbstractNodeVisitor.php24 final public function enterNode(\Twig_NodeInterface $node, Environment $env) argument
26 if (!$node instanceof Node) {
30 return $this->doEnterNode($node, $env);
33 final public function leaveNode(\Twig_NodeInterface $node, Environment $env) argument
35 if (!$node instanceof Node) {
39 return $this->doLeaveNode($node, $env);
47 abstract protected function doEnterNode(Node $node, Environment $env); argument
54 abstract protected function doLeaveNode(Node $node, Environment $env); argument
H A DEscaperNodeVisitor.php47 if ($node instanceof ModuleNode) {
61 return $node;
66 if ($node instanceof ModuleNode) {
76 if ($node instanceof AutoEscapeNode || $node instanceof BlockNode) {
82 return $node;
88 return $node;
94 return $node;
97 $class = \get_class($node);
101 $node->getTemplateLine()
114 $node = $filter->getNode('node');
[all …]
H A DSafeAnalysisNodeVisitor.php41 $hash = spl_object_hash($node);
47 if ($bucket['key'] !== $node) {
61 $hash = spl_object_hash($node);
72 'key' => $node,
79 return $node;
86 $this->setSafe($node, ['all']);
96 $this->setSafe($node, $safe);
108 $this->setSafe($node, []);
126 …} elseif ($node instanceof GetAttrExpression && $node->getNode('node') instanceof NameExpression) {
135 $this->setSafe($node, []);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
H A DAutoEscapeTest.php22 $node = new AutoEscapeNode(true, $body, 1);
24 $this->assertEquals($body, $node->getNode('body'));
25 $this->assertTrue($node->getAttribute('value'));
31 $node = new AutoEscapeNode(true, $body, 1);
34 [$node, "// line 1\necho \"foo\";"],
H A DBlockReferenceTest.php19 $node = new BlockReferenceNode('foo', 1);
21 $this->assertEquals('foo', $node->getAttribute('name'));
H A DDeprecatedTest.php26 $node = new DeprecatedNode($expr, 1);
28 $this->assertEquals($expr, $node->getNode('expr'));
36 $node = new DeprecatedNode($expr, 1, 'deprecated');
37 $node->setTemplateName('foo.twig');
39 $tests[] = [$node, <<<EOF
49 $node = new IfNode($t, null, 1);
50 $node->setTemplateName('foo.twig');
52 $tests[] = [$node, <<<EOF
65 $node = new DeprecatedNode($expr, 1, 'deprecated');
66 $node->setTemplateName('foo.twig');
[all …]
H A DModuleTest.php34 $node = new ModuleNode($body, $parent, $blocks, $macros, $traits, new Node([]), $source);
36 $this->assertEquals($body, $node->getNode('body'));
37 $this->assertEquals($blocks, $node->getNode('blocks'));
38 $this->assertEquals($macros, $node->getNode('macros'));
39 $this->assertEquals($parent, $node->getNode('parent'));
40 $this->assertEquals($source->getName(), $node->getTemplateName());
56 $node = new ModuleNode($body, $extends, $blocks, $macros, $traits, new Node([]), $source);
57 $tests[] = [$node, <<<EOF
121 $node = new ModuleNode($body, $extends, $blocks, $macros, $traits, new Node([]), $source);
122 $tests[] = [$node, <<<EOF
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DAssignNameTest.php19 $node = new AssignNameExpression('foo', 1);
21 $this->assertEquals('foo', $node->getAttribute('name'));
26 $node = new AssignNameExpression('foo', 1);
29 [$node, '$context["foo"]'],
H A DParentTest.php19 $node = new ParentExpression('foo', 1);
21 $this->assertEquals('foo', $node->getAttribute('name'));
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/
H A DDivTest.php22 $node = new DivBinary($left, $right, 1);
24 $this->assertEquals($left, $node->getNode('left'));
25 $this->assertEquals($right, $node->getNode('right'));
32 $node = new DivBinary($left, $right, 1);
35 [$node, '(1 / 2)'],
H A DFloorDivTest.php22 $node = new FloorDivBinary($left, $right, 1);
24 $this->assertEquals($left, $node->getNode('left'));
25 $this->assertEquals($right, $node->getNode('right'));
32 $node = new FloorDivBinary($left, $right, 1);
35 [$node, '(int) floor((1 / 2))'],
H A DModTest.php22 $node = new ModBinary($left, $right, 1);
24 $this->assertEquals($left, $node->getNode('left'));
25 $this->assertEquals($right, $node->getNode('right'));
32 $node = new ModBinary($left, $right, 1);
35 [$node, '(1 % 2)'],
H A DMulTest.php22 $node = new MulBinary($left, $right, 1);
24 $this->assertEquals($left, $node->getNode('left'));
25 $this->assertEquals($right, $node->getNode('right'));
32 $node = new MulBinary($left, $right, 1);
35 [$node, '(1 * 2)'],
H A DOrTest.php22 $node = new OrBinary($left, $right, 1);
24 $this->assertEquals($left, $node->getNode('left'));
25 $this->assertEquals($right, $node->getNode('right'));
32 $node = new OrBinary($left, $right, 1);
35 [$node, '(1 || 2)'],
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/Unary/
H A DPosTest.php21 $node = new PosUnary($expr, 1);
23 $this->assertEquals($expr, $node->getNode('node'));
28 $node = new ConstantExpression(1, 1);
29 $node = new PosUnary($node, 1);
32 [$node, '+1'],

1...<<11121314151617181920>>...29