Home
last modified time | relevance | path

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

12

/template/twigstarter/vendor/twig/twig/src/Util/
DCallableArgumentsExtractor.php50 …igCallable->getType(), $this->twigCallable->getName()), $this->node->getTemplateLine(), $this->nod…
62 …igCallable->getType(), $this->twigCallable->getName()), $this->node->getTemplateLine(), $this->nod…
97 …igCallable->getType(), $this->twigCallable->getName()), $this->node->getTemplateLine(), $this->nod…
104 ), $this->node->getTemplateLine(), $this->node->getSourceContext());
118 …[] = new ConstantExpression($callableParameter->getDefaultValue(), $this->node->getTemplateLine());
126 …igCallable->getType(), $this->twigCallable->getName()), $this->node->getTemplateLine(), $this->nod…
131 …new VariadicExpression([], $this->node->getTemplateLine()) : new ArrayExpression([], $this->node->
138 …keCase($originalKey), $this->node->getSourceContext()->getName(), $this->node->getTemplateLine()));
140 …($value, new ConstantExpression($this->toSnakeCase($originalKey), $this->node->getTemplateLine()));
167 … $unknownArgument ? $unknownArgument->getTemplateLine() : $this->node->getTemplateLine(),
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Filter/
DDefaultFilter.php50 $default = new FilterExpression($node, $filter, $arguments, $node->getTemplateLine());
53 …ew TwigFilter('default', [CoreExtension::class, 'default']), $arguments, $node->getTemplateLine());
57 …= new DefinedTest(clone $node, new TwigTest('defined'), new EmptyNode(), $node->getTemplateLine());
58 …ount($arguments) ? $arguments->getNode('0') : new ConstantExpression('', $node->getTemplateLine());
60 $node = new ConditionalTernary($test, $default, $false, $node->getTemplateLine());
DRawFilter.php38 …null, ['is_safe' => ['all']]), $arguments ?: new EmptyNode(), $lineno ?: $node->getTemplateLine());
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/
DNullCoalesceBinary.php35 …= new DefinedTest(clone $left, new TwigTest('defined'), new EmptyNode(), $left->getTemplateLine());
40 …t($left, new TwigTest('null'), new EmptyNode(), $left->getTemplateLine()), $left->getTemplateLine(…
41 $left->getTemplateLine(),
DSetBinary.php35 $left = new AssignContextVariable($name, $left->getTemplateLine());
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DNullCoalesceExpression.php42 …= new DefinedTest(clone $left, new TwigTest('defined'), new EmptyNode(), $left->getTemplateLine());
47 …t($left, new TwigTest('null'), new EmptyNode(), $left->getTemplateLine()), $left->getTemplateLine(…
48 $left->getTemplateLine()
DArrayExpression.php92 $key = new ConstantExpression(++$this->index, $value->getTemplateLine());
127 …nts are only allowed in destructuring assignments.', $pair['value']->getTemplateLine(), $this->get…
141 $pair['key'] = new ConstantExpression($key, $pair['key']->getTemplateLine());
147 $pair['key'] = new StringCastUnary($pair['key'], $pair['key']->getTemplateLine());
DArrowFunctionExpression.php30 …ion([new AssignContextVariable($names->getAttribute('name'), $names->getTemplateLine())], $lineno);
34 …argument must be a list of variables or a single variable.', $names->getTemplateLine(), $names->ge…
DCallExpression.php158 …d after named arguments for %s "%s".', $callType, $callName), $this->getTemplateLine(), $this->get…
199 …is defined twice for %s "%s".', $name, $callType, $callName), $this->getTemplateLine(), $this->get…
206 ), $this->getTemplateLine(), $this->getSourceContext());
227 …"%s" is required for %s "%s".', $name, $callType, $callName), $this->getTemplateLine(), $this->get…
262 $unknownParameter ? $unknownParameter->getTemplateLine() : $this->getTemplateLine(),
/template/twigstarter/vendor/twig/twig/src/Node/Expression/FunctionNode/
DEnumFunction.php41 …The first argument of the "enum" function must be a string.', $this->getTemplateLine(), $this->get…
45 … function must be the name of an enum, "%s" given.', $value), $this->getTemplateLine(), $this->get…
49 …um" function must be a non-empty enum, "%s" given.', $value), $this->getTemplateLine(), $this->get…
DEnumCasesFunction.php41 …rst argument of the "enum_cases" function must be a string.', $this->getTemplateLine(), $this->get…
45 … function must be the name of an enum, "%s" given.', $value), $this->getTemplateLine(), $this->get…
/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
DSandboxNodeVisitor.php56 $this->tags[$node->getNodeTag()] = $node->getTemplateLine();
61 $this->filters[$node->getAttribute('name')] = $node->getTemplateLine();
66 $this->functions[$node->getAttribute('name')] = $node->getTemplateLine();
75 $this->functions[$name] = $node->getTemplateLine();
81 $this->functions['range'] = $node->getTemplateLine();
/template/twigstarter/vendor/twig/twig/src/Node/
DCheckToStringNode.php33 parent::__construct(['expr' => $expr], ['spread' => $spread], $expr->getTemplateLine());
44 ->repr($expr->getTemplateLine())
DSetNode.php38 $values = new ConstantExpression('', $values->getTemplateLine());
41 … $values = new ConstantExpression($values->getAttribute('data'), $values->getTemplateLine());
47 $values = new CaptureNode($values, $values->getTemplateLine());
DMacroNode.php43 $args = new ArrayExpression([], $arguments->getTemplateLine());
45 $args->addElement($default, new LocalVariable($n, $default->getTemplateLine()));
52 …s.', self::VARARGS_NAME, $name, self::VARARGS_NAME), $pair['value']->getTemplateLine(), $pair['val…
DModuleNode.php155 ->repr($parent->getTemplateLine())
237 ->repr($node->getTemplateLine())
244 ->repr($node->getTemplateLine())
262 ->repr($node->getTemplateLine())
370 ->repr($parent->getTemplateLine())
DEmbedNode.php42 ->repr($this->getTemplateLine())
/template/twigstarter/vendor/twig/twig/src/
DCompiler.php203 if ($node->getTemplateLine() != $this->lastLine) {
204 $this->write(\sprintf("// line %d\n", $node->getTemplateLine()));
208 $this->debugInfo[$this->sourceLine] = $node->getTemplateLine();
210 $this->lastLine = $node->getTemplateLine();
DParser.php120 if (!$e->getTemplateLine()) {
293 …%s' has already been defined line %d.", $name, $this->blocks[$name]->getTemplateLine()), $this->ge…
296 $this->blocks[$name] = new BodyNode([$value], [], $value->getTemplateLine());
338 …w TemplateVariable($internalRef->getAttribute('name'), $internalRef->getTemplateLine()), $internal…
430 …throw new SyntaxError('Multiple extends tags are forbidden.', $parent->getTemplateLine(), $parent-…
568 …Did you forget to put the content inside a {% block %} tag?', $node->getTemplateLine(), $this->str…
581 …lock definition cannot be nested under non-capturing nodes.', $node->getTemplateLine(), $this->str…
624 …ssionParser)->value, $this->getStream()->getSourceContext()->getName(), $node->getTemplateLine()));
634 …getType($ep)->value, $this->getStream()->getSourceContext()->getName(), $node->getTemplateLine()));
/template/twigstarter/vendor/twig/twig/src/TokenParser/
DForTokenParser.php55 …arget = new AssignContextVariable($keyTarget->getAttribute('name'), $keyTarget->getTemplateLine());
61 …t = new AssignContextVariable($valueTarget->getAttribute('name'), $valueTarget->getTemplateLine());
/template/twigstarter/vendor/twig/twig/src/ExpressionParser/Prefix/
DGroupingExpressionParser.php68 …throw new SyntaxError('A list must only contain variables.', $expr->getTemplateLine(), $expr->getS…
71 …ariable ? $expr : new AssignContextVariable($expr->getAttribute('name'), $expr->getTemplateLine());
/template/twigstarter/vendor/twig/twig/src/ExpressionParser/Infix/
DIsExpressionParser.php50 …'var'), $alias['name'], new ArrayExpression([], $expr->getTemplateLine()), $expr->getTemplateLine(…
DDotExpressionParser.php78 …able($expr->getAttribute('name'), $expr->getTemplateLine()), 'macro_'.$name, $arguments, $expr->ge…
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Variable/
DAssignTemplateVariable.php21 parent::__construct(['var' => $var], ['global' => $global], $var->getTemplateLine());
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Ternary/
DConditionalTernary.php26 $test = new TrueTest($test, new TwigTest('true'), null, $test->getTemplateLine());

12