Home
last modified time | relevance | path

Searched refs:lineno (Results 51 – 60 of 60) sorted by relevance

123

/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DArrayExpression.php20 public function __construct(array $elements, int $lineno) argument
22 parent::__construct($elements, [], $lineno);
H A DBlockReferenceExpression.php25 public function __construct(Node $name, ?Node $template, int $lineno, string $tag = null) argument
32 parent::__construct($nodes, ['is_defined_test' => false, 'output' => false], $lineno, $tag);
H A DGetAttrExpression.php21 …on $node, AbstractExpression $attribute, ?AbstractExpression $arguments, string $type, int $lineno) argument
28 …type, 'is_defined_test' => false, 'ignore_strict_check' => false, 'optimizable' => true], $lineno);
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Filter/
H A DDefaultFilter.php32 …struct(Node $node, ConstantExpression $filterName, Node $arguments, int $lineno, string $tag = nul… argument
45 parent::__construct($node, $filterName, $arguments, $lineno, $tag);
/template/twigstarter/vendor/twig/twig/src/Node/
H A DSetNode.php24 …public function __construct(bool $capture, Node $names, Node $values, int $lineno, string $tag = n… argument
26 …['names' => $names, 'values' => $values], ['capture' => $capture, 'safe' => false], $lineno, $tag);
H A DMacroNode.php26 …public function __construct(string $name, Node $body, Node $arguments, int $lineno, string $tag = … argument
34 …arent::__construct(['body' => $body, 'arguments' => $arguments], ['name' => $name], $lineno, $tag);
H A DIncludeNode.php25 …r, ?AbstractExpression $variables, bool $only, bool $ignoreMissing, int $lineno, string $tag = nul… argument
32 …struct($nodes, ['only' => (bool) $only, 'ignore_missing' => (bool) $ignoreMissing], $lineno, $tag);
/template/twigstarter/vendor/twig/twig/src/
H A DParser.php130 $lineno = $this->getCurrentToken()->getLine();
163 return new Node($rv, [], $lineno);
171 …f(' (expecting closing tag for the "%s" tag defined near line %s).', $test[0]->getTag(), $lineno));
199 return new Node($rv, [], $lineno);
H A DExpressionParser.php470 $lineno = $token->getLine();
471 $arguments = new ArrayExpression([], $lineno);
482 $arg = new ConstantExpression($token->getValue(), $lineno);
491 …ype %s.', $token->getValue(), Token::typeToEnglish($token->getType())), $lineno, $stream->getSourc…
501 $node = new MethodCallExpression($node, 'macro_'.$name, $arguments, $lineno);
541 return new GetAttrExpression($node, $arg, $arguments, $type, $lineno);
/template/twigstarter/vendor/twig/twig/src/Extension/
H A DCoreExtension.php1156 function twig_call_macro(Template $template, string $method, array $args, int $lineno, array $conte… argument
1166 …plate "%s".', substr($method, \strlen('macro_')), $template->getTemplateName()), $lineno, $source);
1392 * @param int $lineno The template line where the attribute was called
1400 …*/ 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) argument
1447 throw new RuntimeError($message, $lineno, $source);
1468 throw new RuntimeError($message, $lineno, $source);
1472 … throw new RuntimeError('Accessing \Twig\Template attributes is forbidden.', $lineno, $source);
1483 …env->getExtension(SandboxExtension::class)->checkPropertyAllowed($object, $item, $lineno, $source);
1552 …)" or "__call()" exist and have public access in class "%2$s".', $item, $class), $lineno, $source);
1560 …$env->getExtension(SandboxExtension::class)->checkMethodAllowed($object, $method, $lineno, $source…

123