Home
last modified time | relevance | path

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

12

/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 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/Error/
H A DError.php94 public function getTemplateLine() function in Twig\\Error\\Error
/template/twigstarter/vendor/twig/twig/src/Node/
H A DCheckSecurityNode.php40 ${$type}[$name] = $node->getTemplateLine();
H A DCheckToStringNode.php31 parent::__construct(['expr' => $expr], [], $expr->getTemplateLine(), $expr->getNodeTag());
41 ->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 DIncludeNode.php85 ->repr($this->getTemplateLine())
H A DMacroNode.php30 …uments.', self::VARARGS_NAME, $name, self::VARARGS_NAME), $argument->getTemplateLine(), $argument-…
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 DNode.php87 public function getTemplateLine() function in Twig\\Node\\Node
H A DSandboxedPrintNode.php47 ->repr($expr->getTemplateLine())
H A DSetNode.php38 …tNode('values', new ConstantExpression($values->getAttribute('data'), $values->getTemplateLine()));
H A DWithNode.php47 ->repr($node->getTemplateLine())
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DArrayExpression.php62 $key = new ConstantExpression(++$this->index, $value->getTemplateLine());
H A DBlockReferenceExpression.php63 ->repr($this->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 DGetAttrExpression.php83 ->raw(', ')->repr($this->getNode('node')->getTemplateLine())
H A DMethodCallExpression.php59 ->repr($this->getTemplateLine())
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()
/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/Test/
H A DDefinedTest.php50 $node = new ConstantExpression(true, $node->getTemplateLine());
/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());

12