Home
last modified time | relevance | path

Searched refs:getNode (Results 1 – 25 of 128) sorted by relevance

123456

/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
H A DModuleNode.php94 \count($this->getNode('blocks'))
95 || \count($this->getNode('traits'))
99 || \count($this->getNode('constructor_end'))
108 $compiler->subcompile($this->getNode('blocks'));
130 $parent = $this->getNode('parent');
329 ->subcompile($this->getNode('body'))
333 $parent = $this->getNode('parent');
344 ->subcompile($this->getNode('display_end'))
353 ->subcompile($this->getNode('class_end'))
389 $nodes = $this->getNode('body')->getNode(0);
[all …]
H A DSetNode.php36 $values = $this->getNode('values');
48 if (\count($this->getNode('names')) > 1) {
50 foreach ($this->getNode('names') as $idx => $node) {
62 ->subcompile($this->getNode('values'))
66 $compiler->subcompile($this->getNode('names'), false);
76 if (\count($this->getNode('names')) > 1) {
78 foreach ($this->getNode('values') as $idx => $value) {
90 ->subcompile($this->getNode('values'))
94 $compiler->subcompile($this->getNode('values'));
H A DIfNode.php37 for ($i = 0, $count = \count($this->getNode('tests')); $i < $count; $i += 2) {
50 ->subcompile($this->getNode('tests')->getNode($i))
53 ->subcompile($this->getNode('tests')->getNode($i + 1))
62 ->subcompile($this->getNode('else'))
H A DForNode.php50 ->subcompile($this->getNode('seq'))
89 ->subcompile($this->getNode('key_target'))
91 ->subcompile($this->getNode('value_target'))
94 ->subcompile($this->getNode('body'))
103 ->subcompile($this->getNode('else'))
112 …t[\'_iterated\'], $context[\''.$this->getNode('key_target')->getAttribute('name').'\'], $context[\…
H A DImportNode.php35 ->subcompile($this->getNode('var'))
39 …if ($this->getNode('expr') instanceof NameExpression && '_self' === $this->getNode('expr')->getAtt…
44 ->subcompile($this->getNode('expr'))
H A DMacroNode.php44 $count = \count($this->getNode('arguments'));
46 foreach ($this->getNode('arguments') as $name => $default) {
76 foreach ($this->getNode('arguments') as $name => $default) {
110 ->subcompile($this->getNode('body'))
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/NodeVisitor/
H A DOptimizerTest.php24 $node = $stream->getNode('body')->getNode(0);
36 $node = $stream->getNode('blocks')->getNode('content')->getNode(0)->getNode('body');
51 $node = $stream->getNode('body')->getNode(0)->getNode(1);
118 if ($target === $n->getNode('value_target')->getAttribute('name')) {
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/Test/
H A DConstantTest.php32 ->subcompile($this->getNode('node'))
36 if ($this->getNode('arguments')->hasNode(1)) {
39 ->subcompile($this->getNode('arguments')->getNode(1))
45 ->subcompile($this->getNode('arguments')->getNode(0))
H A DDivisiblebyTest.php30 ->subcompile($this->getNode('node'))
32 ->subcompile($this->getNode('arguments')->getNode(0))
H A DSameasTest.php28 ->subcompile($this->getNode('node'))
30 ->subcompile($this->getNode('arguments')->getNode(0))
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Node/
H A DTrans.php42 list($msg, $vars) = $this->compileString($this->getNode('body'));
45 list($msg1, $vars1) = $this->compileString($this->getNode('plural'));
53 $message = trim($this->getNode('notes')->getAttribute('data'));
71 ->subcompile($this->hasNode('count') ? $this->getNode('count') : null)
83 ->subcompile($this->hasNode('count') ? $this->getNode('count') : null)
108 ->subcompile($this->hasNode('count') ? $this->getNode('count') : null)
133 … if (get_class($node) === 'Twig_Node' && $node->getNode(0) instanceof Twig_Node_SetTemp) {
134 $node = $node->getNode(1);
138 $n = $node->getNode('expr');
140 $n = $n->getNode('node');
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
H A DForTest.php33 $this->assertEquals($keyTarget, $node->getNode('key_target'));
34 $this->assertEquals($valueTarget, $node->getNode('value_target'));
35 $this->assertEquals($seq, $node->getNode('seq'));
37 $this->assertInstanceOf('\Twig\Node\IfNode', $node->getNode('body'));
38 … $this->assertEquals($body, $node->getNode('body')->getNode('tests')->getNode(1)->getNode(0));
44 $this->assertEquals($else, $node->getNode('else'));
H A DModuleTest.php36 $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'));
/plugin/findologicxmlexport/vendor/twig/twig/src/NodeVisitor/
H A DOptimizerNodeVisitor.php152 $exprNode = $node->getNode('expr');
172 …if ($node instanceof FilterExpression && 'raw' == $node->getNode('filter')->getAttribute('value'))…
173 return $node->getNode('node');
188 … array_unshift($this->loopsTargets, $node->getNode('value_target')->getAttribute('name'));
189 array_unshift($this->loopsTargets, $node->getNode('key_target')->getAttribute('name'));
221 && (!$node->getNode('arguments')->hasNode('with_context')
222 … || false !== $node->getNode('arguments')->getNode('with_context')->getAttribute('value')
230 && (!$node->getNode('attribute') instanceof ConstantExpression
231 || 'parent' === $node->getNode('attribute')->getAttribute('value')
234 || ($node->getNode('node') instanceof NameExpression
[all …]
H A DSafeAnalysisNodeVisitor.php95 …$safe = $this->intersectSafe($this->getSafe($node->getNode('expr2')), $this->getSafe($node->getNod…
99 $name = $node->getNode('filter')->getAttribute('value');
100 $args = $node->getNode('arguments');
104 …$safe = $this->intersectSafe($this->getSafe($node->getNode('node')), $filter->getPreservesSafety()…
113 $args = $node->getNode('arguments');
126 …} elseif ($node instanceof GetAttrExpression && $node->getNode('node') instanceof NameExpression) {
127 $name = $node->getNode('node')->getAttribute('name');
H A DSandboxNodeVisitor.php58 …if ($node instanceof FilterExpression && !isset($this->filters[$node->getNode('filter')->getAttrib…
59 $this->filters[$node->getNode('filter')->getAttribute('value')] = $node;
105 …CheckSecurityNode($this->filters, $this->tags, $this->functions), $node->getNode('display_start')]…
117 $expr = $node->getNode($name);
125 $args = $node->getNode($name);
/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
H A DForTokenParser.php61 $keyTarget = $targets->getNode(0);
63 $valueTarget = $targets->getNode(1);
67 $valueTarget = $targets->getNode(0);
92 …de instanceof GetAttrExpression && $node->getNode('node') instanceof NameExpression && 'loop' == $…
109 …de instanceof GetAttrExpression && $node->getNode('node') instanceof NameExpression && 'loop' == $…
110 $attribute = $node->getNode('attribute');
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
H A DNullCoalesceExpression.php43 if (\PHP_VERSION_ID >= 70000 && $this->getNode('expr2') instanceof NameExpression) {
44 $this->getNode('expr2')->setAttribute('always_defined', true);
47 ->subcompile($this->getNode('expr2'))
49 ->subcompile($this->getNode('expr3'))
H A DConditionalExpression.php28 ->subcompile($this->getNode('expr1'))
30 ->subcompile($this->getNode('expr2'))
32 ->subcompile($this->getNode('expr3'))
H A DGetAttrExpression.php43 $this->getNode('node')->setAttribute('ignore_strict_check', true);
46 $compiler->subcompile($this->getNode('node'));
48 $compiler->raw(', ')->subcompile($this->getNode('attribute'));
58 $compiler->raw(', ')->subcompile($this->getNode('arguments'));
/plugin/findologicxmlexport/vendor/twig/twig/src/Profiler/NodeVisitor/
H A DProfilerNodeVisitor.php48 …sionName, Profile::TEMPLATE, $node->getTemplateName(), $varName), $node->getNode('display_start')]…
49 …$node->setNode('display_end', new Node([new LeaveProfileNode($varName), $node->getNode('display_en…
54 $node->getNode('body'),
61 $node->getNode('body'),
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DConditionalTest.php25 $this->assertEquals($expr1, $node->getNode('expr1'));
26 $this->assertEquals($expr2, $node->getNode('expr2'));
27 $this->assertEquals($expr3, $node->getNode('expr3'));
/plugin/elasticsearch/vendor/ruflin/elastica/src/Node/
H A DInfo.php174 public function getNode(): BaseNode
222 $endpoint->setNodeId($this->getNode()->getId());
228 $this->_response = $this->getNode()->getClient()->requestEndpoint($endpoint);
233 $this->getNode()->setId($this->getId());
171 public function getNode(): BaseNode global() function in Elastica\\Node\\Info
H A DStats.php91 public function getNode(): BaseNode
119 $endpoint->setNodeId($this->getNode()->getName());
121 $this->_response = $this->getNode()->getClient()->requestEndpoint($endpoint);
88 public function getNode(): BaseNode global() function in Elastica\\Node\\Stats
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DExpressionParserTest.php61 …$this->assertEquals($expected, $parser->parse($stream)->getNode('body')->getNode(0)->getNode('expr…
181 …$this->assertEquals($expected, $parser->parse($stream)->getNode('body')->getNode(0)->getNode('expr…

123456