Home
last modified time | relevance | path

Searched refs:getTemplateLine (Results 1 – 25 of 30) sorted by relevance

12

/template/twigstarter/vendor/twig/twig/src/Node/Expression/Filter/
H A DDefaultFilter.php34 …($node, new ConstantExpression('default', $node->getTemplateLine()), $arguments, $node->getTemplat…
37 $test = new DefinedTest(clone $node, 'defined', new Node(), $node->getTemplateLine());
38 …\count($arguments) ? $arguments->getNode(0) : new ConstantExpression('', $node->getTemplateLine());
40 $node = new ConditionalExpression($test, $default, $false, $node->getTemplateLine());
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DNullCoalesceExpression.php25 $test = new DefinedTest(clone $left, 'defined', new Node(), $left->getTemplateLine());
30 …otUnary(new NullTest($left, 'null', new Node(), $left->getTemplateLine()), $left->getTemplateLine(…
31 $left->getTemplateLine()
H A DCallExpression.php128 …d after named arguments for %s "%s".', $callType, $callName), $this->getTemplateLine(), $this->get…
169 …is defined twice for %s "%s".', $name, $callType, $callName), $this->getTemplateLine(), $this->get…
176 ), $this->getTemplateLine(), $this->getSourceContext());
198 …"%s" is required for %s "%s".', $name, $callType, $callName), $this->getTemplateLine(), $this->get…
233 $unknownParameter ? $unknownParameter->getTemplateLine() : $this->getTemplateLine(),
H A DMethodCallExpression.php59 ->repr($this->getTemplateLine())
H A DArrayExpression.php62 $key = new ConstantExpression(++$this->index, $value->getTemplateLine());
H A DBlockReferenceExpression.php63 ->repr($this->getTemplateLine())
/template/twigstarter/vendor/twig/twig/src/TokenParser/
H A DForTokenParser.php63 …Target = new AssignNameExpression($keyTarget->getAttribute('name'), $keyTarget->getTemplateLine());
65 …et = new AssignNameExpression($valueTarget->getAttribute('name'), $valueTarget->getTemplateLine());
69 …et = new AssignNameExpression($valueTarget->getAttribute('name'), $valueTarget->getTemplateLine());
94 …'The "loop" variable cannot be used in a looping condition.', $node->getTemplateLine(), $stream->g…
113 …oping with a condition.', $attribute->getAttribute('value')), $node->getTemplateLine(), $stream->g…
H A DSandboxTokenParser.php46 …Only "include" tags are allowed within a "sandbox" section.', $node->getTemplateLine(), $stream->g…
H A DBlockTokenParser.php38 …ready been defined line %d.", $name, $this->parser->getBlock($name)->getTemplateLine()), $stream->…
/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
H A DEscaperNodeVisitor.php77 …urn new DoNode($this->unwrapConditional($expression, $env, $type), $expression->getTemplateLine());
107 …$expr2 = $this->escapeInlinePrintNode(new InlinePrint($expr2, $expr2->getTemplateLine()), $env, $t…
113 …$expr3 = $this->escapeInlinePrintNode(new InlinePrint($expr3, $expr3->getTemplateLine()), $env, $t…
116 …nditionalExpression($expression->getNode('expr1'), $expr2, $expr3, $expression->getTemplateLine());
127 … return new InlinePrint($this->getEscaperFilter($type, $expression), $node->getTemplateLine());
144 return new $class($this->getEscaperFilter($type, $expression), $node->getTemplateLine());
195 $line = $node->getTemplateLine();
H A DMacroAutoImportNodeVisitor.php59 …ion($node->getNode('node'), 'macro_'.$name, $node->getNode('arguments'), $node->getTemplateLine());
/template/twigstarter/vendor/twig/twig/src/
H A DCompiler.php184 if ($node->getTemplateLine() != $this->lastLine) {
185 $this->write(sprintf("// line %d\n", $node->getTemplateLine()));
189 $this->debugInfo[$this->sourceLine] = $node->getTemplateLine();
191 $this->lastLine = $node->getTemplateLine();
H A DParser.php107 if (!$e->getTemplateLine()) {
234 $this->blocks[$name] = new BodyNode([$value], [], $value->getTemplateLine());
351 …Did you forget to put the content inside a {% block %} tag?', $node->getTemplateLine(), $this->str…
362 …error in 3.0.', $this->stream->getSourceContext()->getName(), $node->getTemplateLine()), \E_USER_D…
370 …error in 3.0.', $this->stream->getSourceContext()->getName(), $node->getTemplateLine()), \E_USER_D…
H A DTemplate.php190 if (-1 === $e->getTemplateLine()) {
339 if ($e->getTemplateLine() > 0) {
413 if (-1 === $e->getTemplateLine()) {
H A DExpressionParser.php314 $expr = new ConcatBinary($expr, $node, $node->getTemplateLine());
374 … $value = new NameExpression($key->getAttribute('value'), $key->getTemplateLine());
694 list($name, $test) = $this->getTest($node->getTemplateLine());
705 …node'], $alias['name'], new ArrayExpression([], $node->getTemplateLine()), $node->getTemplateLine(…
/template/twigstarter/vendor/twig/twig/src/Node/
H A DModuleNode.php130 ->repr($parent->getTemplateLine())
202 ->repr($node->getTemplateLine())
209 ->repr($node->getTemplateLine())
227 ->repr($node->getTemplateLine())
330 ->repr($parent->getTemplateLine())
463 ->repr($node->getTemplateLine())
H A DCheckToStringNode.php31 parent::__construct(['expr' => $expr], [], $expr->getTemplateLine(), $expr->getNodeTag());
41 ->repr($expr->getTemplateLine())
H A DSandboxedPrintNode.php47 ->repr($expr->getTemplateLine())
H A DDeprecatedNode.php49 … ->string(sprintf(' ("%s" at line %d).', $this->getTemplateName(), $this->getTemplateLine()))
H A DEmbedNode.php42 ->repr($this->getTemplateLine())
H A DImportNode.php56 ->repr($this->getTemplateLine())
H A DWithNode.php47 ->repr($node->getTemplateLine())
H A DCheckSecurityNode.php40 ${$type}[$name] = $node->getTemplateLine();
H A DSetNode.php38 …tNode('values', new ConstantExpression($values->getAttribute('data'), $values->getTemplateLine()));
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Test/
H A DDefinedTest.php50 $node = new ConstantExpression(true, $node->getTemplateLine());

12