| /template/twigstarter/vendor/twig/twig/src/Error/ |
| D | Error.php | 38 private $lineno; variable in Twig\\Error\\Error 50 * @param int $lineno The template line where the error occurred 53 …public function __construct(string $message, int $lineno = -1, ?Source $source = null, ?\Throwable… argument 59 $this->lineno = $lineno; 72 return $this->lineno; 75 public function setTemplateLine(int $lineno): void argument 77 $this->lineno = $lineno; 94 if ($this->lineno > -1) { 113 if ($this->lineno > 0) { 114 $this->line = $this->lineno; [all …]
|
| /template/twigstarter/vendor/twig/twig/src/Extension/ |
| D | SandboxExtension.php | 96 … public function checkMethodAllowed($obj, $method, int $lineno = -1, ?Source $source = null): void argument 103 $e->setTemplateLine($lineno); 110 …public function checkPropertyAllowed($obj, $property, int $lineno = -1, ?Source $source = null): v… argument 117 $e->setTemplateLine($lineno); 127 public function ensureToStringAllowed($obj, int $lineno = -1, ?Source $source = null) argument 129 return $this->doEnsureToStringAllowed($obj, $lineno, $source, new \SplObjectStorage()); 139 …public function ensureSpreadAllowed(iterable $obj, int $lineno = -1, ?Source $source = null): array argument 147 $this->ensureToStringAllowedForArray($obj, $lineno, $source, $seen); 152 …private function doEnsureToStringAllowed($obj, int $lineno, ?Source $source, \SplObjectStorage $se… argument 155 $this->ensureToStringAllowedForArray($obj, $lineno, $source, $seen); [all …]
|
| /template/twigstarter/vendor/twig/twig/src/TokenParser/ |
| D | ApplyTokenParser.php | 35 $lineno = $token->getLine(); 36 $ref = new LocalVariable(null, $lineno); 52 new SetNode(true, $ref, $body, $lineno), 53 new PrintNode($filter, $lineno), 54 ], $lineno);
|
| D | BlockTokenParser.php | 38 $lineno = $token->getLine(); 41 $this->parser->setBlock($name, $block = new BlockNode($name, new EmptyNode(), $lineno)); 56 new PrintNode($this->parser->parseExpression(), $lineno), 65 return new BlockReferenceNode($name, $lineno);
|
| D | IfTokenParser.php | 38 $lineno = $token->getLine(); 67 …e", "elseif", or "endif" to close the "if" block started at line %d).', $lineno), $stream->getCurr… 73 return new IfNode(new Nodes($tests), $else, $lineno);
|
| /template/twigstarter/vendor/twig/twig/src/ |
| D | Lexer.php | 28 private $lineno; variable in Twig\\Lexer 192 $this->lineno = 1; 233 [$expect, $lineno] = array_pop($this->brackets); 234 throw new SyntaxError(\sprintf('Unclosed "%s".', $expect), $lineno, $this->source); 289 $this->lineno = (int) $match[1]; 293 $this->currentVarBlockLine = $this->lineno; 300 $this->currentVarBlockLine = $this->lineno; 370 $this->brackets[] = ['"', $this->lineno]; 380 …(\sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->lineno, $this->source); 412 …r at position %d in "%s" at line %d.', $nextChar, $i + 1, $this->source->getName(), $this->lineno); [all …]
|
| /template/twigstarter/vendor/twig/twig/src/Node/Expression/ |
| D | AssignNameExpression.php | 22 public function __construct(string $name, int $lineno) argument 30 throw new SyntaxError(\sprintf('You cannot assign a value to "%s".', $name), $lineno); 33 parent::__construct($name, $lineno);
|
| D | TempNameExpression.php | 21 public function __construct(string|int|null $name, int $lineno) argument 25 throw new SyntaxError(\sprintf('You cannot assign a value to "%s".', $name), $lineno); 38 parent::__construct([], ['name' => $name], $lineno);
|
| D | ArrowFunctionExpression.php | 27 public function __construct(AbstractExpression $expr, Node $names, $lineno) argument 30 …ion([new AssignContextVariable($names->getAttribute('name'), $names->getTemplateLine())], $lineno); 37 parent::__construct(['expr' => $expr, 'names' => $names], [], $lineno);
|
| D | EmptyExpression.php | 25 public function __construct(int $lineno) argument 27 parent::__construct([], [], $lineno);
|
| D | ConstantExpression.php | 24 public function __construct($value, int $lineno) argument 26 parent::__construct([], ['value' => $value], $lineno);
|
| D | InlinePrint.php | 25 public function __construct(Node $node, int $lineno) argument 29 parent::__construct(['node' => $node], [], $lineno);
|
| /template/twigstarter/vendor/twig/twig/src/Node/ |
| D | EmbedNode.php | 28 …ng $name, int $index, ?AbstractExpression $variables, bool $only, bool $ignoreMissing, int $lineno) argument 30 …t::__construct(new ConstantExpression('not_used', $lineno), $variables, $only, $ignoreMissing, $li…
|
| D | ImportNode.php | 28 … __construct(AbstractExpression $expr, AbstractExpression|AssignTemplateVariable $var, int $lineno) argument 37 $var = new AssignTemplateVariable($var->getAttribute('name'), $lineno); 40 parent::__construct(['expr' => $expr, 'var' => $var], [], $lineno);
|
| D | Nodes.php | 24 public function __construct(array $nodes = [], int $lineno = 0) argument 26 parent::__construct($nodes, [], $lineno);
|
| D | EmptyNode.php | 24 public function __construct(int $lineno = 0) argument 26 parent::__construct([], [], $lineno);
|
| D | TypesNode.php | 28 public function __construct(array $types, int $lineno) argument 30 parent::__construct([], ['mapping' => $types], $lineno);
|
| D | AutoEscapeNode.php | 31 public function __construct($value, Node $body, int $lineno) argument 33 parent::__construct(['body' => $body], ['value' => $value], $lineno);
|
| D | FlushNode.php | 25 public function __construct(int $lineno) argument 27 parent::__construct([], [], $lineno);
|
| D | Node.php | 34 protected $lineno; variable in Twig\\Node\\Node 46 * @param int $lineno The line number 48 public function __construct(array $nodes = [], array $attributes = [], int $lineno = 0) argument 61 $this->lineno = $lineno; 127 return $this->lineno;
|
| D | BlockReferenceNode.php | 26 public function __construct(string $name, int $lineno) argument 28 parent::__construct([], ['name' => $name], $lineno);
|
| D | ForElseNode.php | 25 public function __construct(Node $body, int $lineno) argument 27 parent::__construct(['body' => $body], [], $lineno);
|
| /template/twigstarter/vendor/twig/twig/src/Node/Expression/Test/ |
| D | DefinedTest.php | 39 public function __construct(Node $node, TwigTest|string $name, ?Node $arguments, int $lineno) argument 46 throw new SyntaxError('The "defined" test only works with simple variables.', $lineno); 55 parent::__construct($node, $name, $arguments, $lineno);
|
| /template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/ |
| D | MatchesBinary.php | 24 public function __construct(Node $left, Node $right, int $lineno) argument 35 …(\sprintf('Regexp "%s" passed to "matches" is not valid: %s.', $regexp, substr($m, 14)), $lineno)); 43 parent::__construct($left, $right, $lineno);
|
| D | SequenceDestructuringSetBinary.php | 33 public function __construct(Node $left, Node $right, int $lineno) argument 41 …"%s", only variables can be assigned in sequence destructuring.', $pair['value']::class), $lineno); 45 parent::__construct($left, $right, $lineno);
|