/template/twigstarter/vendor/twig/twig/src/Error/ |
H A D | Error.php | 41 private $lineno; variable in Twig\\Error\\Error 73 $this->lineno = $lineno; 96 return $this->lineno; 102 * @param int $lineno The template line 104 public function setTemplateLine($lineno) argument 106 $this->lineno = $lineno; 153 if ($this->sourcePath && $this->lineno > 0) { 155 $this->line = $this->lineno; 181 if ($this->lineno && $this->lineno >= 0) { 223 if (null === $template || $this->lineno > -1) { [all …]
|
/template/twigstarter/vendor/twig/twig/src/ |
H A D | ExpressionParser.php | 470 $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);
|
H A D | Lexer.php | 27 private $lineno; variable in Twig\\Lexer 161 $this->lineno = 1; 202 list($expect, $lineno) = array_pop($this->brackets); 258 $this->lineno = (int) $match[1]; 262 $this->currentVarBlockLine = $this->lineno; 269 $this->currentVarBlockLine = $this->lineno; 343 list($expect, $lineno) = array_pop($this->brackets); 359 $this->brackets[] = ['"', $this->lineno]; 413 list($expect, $lineno) = array_pop($this->brackets); 446 $this->tokens[] = new Token($type, $value, $this->lineno); [all …]
|
/template/twigstarter/vendor/twig/twig/src/Extension/ |
H A D | CoreExtension.php | 1156 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…
|
H A D | SandboxExtension.php | 80 public function checkMethodAllowed($obj, $method, int $lineno = -1, Source $source = null) argument 87 $e->setTemplateLine($lineno); 94 public function checkPropertyAllowed($obj, $property, int $lineno = -1, Source $source = null) argument 101 $e->setTemplateLine($lineno); 108 public function ensureToStringAllowed($obj, int $lineno = -1, Source $source = null) argument 115 $e->setTemplateLine($lineno);
|
/template/twigstarter/vendor/twig/twig/src/Node/ |
H A D | AutoEscapeNode.php | 29 public function __construct($value, Node $body, int $lineno, string $tag = 'autoescape') argument 31 parent::__construct(['body' => $body], ['value' => $value], $lineno, $tag);
|
H A D | BlockNode.php | 24 public function __construct(string $name, Node $body, int $lineno, string $tag = null) argument 26 parent::__construct(['body' => $body], ['name' => $name], $lineno, $tag);
|
H A D | BlockReferenceNode.php | 24 public function __construct(string $name, int $lineno, string $tag = null) argument 26 parent::__construct([], ['name' => $name], $lineno, $tag);
|
H A D | DeprecatedNode.php | 25 public function __construct(AbstractExpression $expr, int $lineno, string $tag = null) argument 27 parent::__construct(['expr' => $expr], [], $lineno, $tag);
|
H A D | DoNode.php | 24 public function __construct(AbstractExpression $expr, int $lineno, string $tag = null) argument 26 parent::__construct(['expr' => $expr], [], $lineno, $tag);
|
H A D | EmbedNode.php | 26 …x, ?AbstractExpression $variables, bool $only, bool $ignoreMissing, int $lineno, string $tag = nul… argument 28 …t::__construct(new ConstantExpression('not_used', $lineno), $variables, $only, $ignoreMissing, $li…
|
/template/twigstarter/vendor/twig/twig/src/Node/Expression/ |
H A D | ArrayExpression.php | 20 public function __construct(array $elements, int $lineno) argument 22 parent::__construct($elements, [], $lineno);
|
H A D | ArrowFunctionExpression.php | 24 public function __construct(AbstractExpression $expr, Node $names, $lineno, $tag = null) argument 26 parent::__construct(['expr' => $expr, 'names' => $names], [], $lineno, $tag);
|
H A D | BlockReferenceExpression.php | 25 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 D | ConditionalExpression.php | 19 …truct(AbstractExpression $expr1, AbstractExpression $expr2, AbstractExpression $expr3, int $lineno) argument 21 parent::__construct(['expr1' => $expr1, 'expr2' => $expr2, 'expr3' => $expr3], [], $lineno);
|
H A D | ConstantExpression.php | 19 public function __construct($value, int $lineno) argument 21 parent::__construct([], ['value' => $value], $lineno);
|
H A D | FilterExpression.php | 20 …struct(Node $node, ConstantExpression $filterName, Node $arguments, int $lineno, string $tag = nul… argument 22 …onstruct(['node' => $node, 'filter' => $filterName, 'arguments' => $arguments], [], $lineno, $tag);
|
H A D | FunctionExpression.php | 19 public function __construct(string $name, Node $arguments, int $lineno) argument 21 …::__construct(['arguments' => $arguments], ['name' => $name, 'is_defined_test' => false], $lineno);
|
H A D | GetAttrExpression.php | 21 …on $node, AbstractExpression $attribute, ?AbstractExpression $arguments, string $type, int $lineno) argument 28 …type, 'is_defined_test' => false, 'ignore_strict_check' => false, 'optimizable' => true], $lineno);
|
H A D | InlinePrint.php | 22 public function __construct(Node $node, $lineno) argument 24 parent::__construct(['node' => $node], [], $lineno);
|
H A D | MethodCallExpression.php | 18 …tion __construct(AbstractExpression $node, string $method, ArrayExpression $arguments, int $lineno) argument 20 …ents' => $arguments], ['method' => $method, 'safe' => false, 'is_defined_test' => false], $lineno);
|
H A D | NameExpression.php | 25 public function __construct(string $name, int $lineno) argument 27 …, 'is_defined_test' => false, 'ignore_strict_check' => false, 'always_defined' => false], $lineno); 80 ->repr($this->lineno)
|
H A D | NullCoalesceExpression.php | 23 public function __construct(Node $left, Node $right, int $lineno) argument 35 parent::__construct($test, $left, $right, $lineno);
|
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/ |
H A D | AbstractBinary.php | 21 public function __construct(Node $left, Node $right, int $lineno) argument 23 parent::__construct(['left' => $left, 'right' => $right], [], $lineno);
|
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Filter/ |
H A D | DefaultFilter.php | 32 …struct(Node $node, ConstantExpression $filterName, Node $arguments, int $lineno, string $tag = nul… argument 45 parent::__construct($node, $filterName, $arguments, $lineno, $tag);
|