/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/TokenParser/ |
H A D | FilterTokenParser.php | 34 $lineno = $token->getLine(); 36 … use the "apply" tag instead.', $stream->getSourceContext()->getName(), $lineno), \E_USER_DEPRECAT… 39 …$ref = new BlockReferenceExpression(new ConstantExpression($name, $lineno), null, $lineno, $this->… 47 $block = new BlockNode($name, $body, $lineno); 50 return new PrintNode($filter, $lineno, $this->getTag());
|
H A D | ApplyTokenParser.php | 31 $lineno = $token->getLine(); 34 $ref = new TempNameExpression($name, $lineno); 44 new SetNode(true, $ref, $body, $lineno, $this->getTag()), 45 new PrintNode($filter, $lineno, $this->getTag()),
|
H A D | BlockTokenParser.php | 34 $lineno = $token->getLine(); 40 $this->parser->setBlock($name, $block = new BlockNode($name, new Node([]), $lineno)); 55 new PrintNode($this->parser->getExpressionParser()->parseExpression(), $lineno), 64 return new BlockReferenceNode($name, $lineno, $this->getTag());
|
H A D | SpacelessTokenParser.php | 34 $lineno = $token->getLine(); 36 …with the "apply" tag instead.', $stream->getSourceContext()->getName(), $lineno), \E_USER_DEPRECAT… 42 return new SpacelessNode($body, $lineno, $this->getTag());
|
H A D | IfTokenParser.php | 35 $lineno = $token->getLine(); 64 …e", "elseif", or "endif" to close the "if" block started at line %d).', $lineno), $stream->getCurr… 70 return new IfNode(new Node($tests), $else, $lineno, $this->getTag());
|
H A D | ForTokenParser.php | 38 $lineno = $token->getLine(); 46 …ble updated inside the loop).', $stream->getSourceContext()->getName(), $lineno), \E_USER_DEPRECAT… 67 $keyTarget = new AssignNameExpression('_key', $lineno); 77 …return new ForNode($keyTarget, $valueTarget, $seq, $ifexpr, $body, $else, $lineno, $this->getTag()…
|
/template/twigstarter/vendor/twig/twig/src/ |
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 …]
|
H A D | Token.php | 24 private $lineno; variable in Twig\\Token 44 * @param int $lineno The line position in the source 46 public function __construct($type, $value, $lineno) argument 50 $this->lineno = $lineno; 90 return $this->lineno;
|
/template/twigstarter/vendor/twig/twig/src/Extension/ |
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 | Node.php | 27 protected $lineno; variable in Twig\\Node\\Node 36 * @param int $lineno The line number 39 …public function __construct(array $nodes = [], array $attributes = [], int $lineno = 0, string $ta… argument 48 $this->lineno = $lineno; 89 return $this->lineno;
|
H A D | ForNode.php | 28 …ression $seq, ?AbstractExpression $ifexpr, Node $body, ?Node $else, int $lineno, string $tag = nul… argument 30 $body = new Node([$body, $this->loop = new ForLoopNode($lineno, $tag)]); 33 $body = new IfNode(new Node([$ifexpr, $body]), null, $lineno, $tag); 41 … parent::__construct($nodes, ['with_loop' => true, 'ifexpr' => null !== $ifexpr], $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…
|
H A D | FlushNode.php | 23 public function __construct(int $lineno, string $tag) argument 25 parent::__construct([], [], $lineno, $tag);
|
H A D | TextNode.php | 24 public function __construct(string $data, int $lineno) argument 26 parent::__construct([], ['data' => $data], $lineno);
|
/template/twigstarter/vendor/twig/twig/src/Sandbox/ |
H A D | SecurityNotAllowedFunctionError.php | 25 …public function __construct(string $message, string $functionName, int $lineno = -1, string $filen… argument 27 if (-1 !== $lineno) { 36 parent::__construct($message, $lineno, $filename, $previous);
|
H A D | SecurityNotAllowedTagError.php | 25 …public function __construct(string $message, string $tagName, int $lineno = -1, string $filename =… argument 27 if (-1 !== $lineno) { 36 parent::__construct($message, $lineno, $filename, $previous);
|
H A D | SecurityNotAllowedFilterError.php | 25 …public function __construct(string $message, string $functionName, int $lineno = -1, string $filen… argument 27 if (-1 !== $lineno) { 36 parent::__construct($message, $lineno, $filename, $previous);
|
H A D | SecurityNotAllowedMethodError.php | 26 …public function __construct(string $message, string $className, string $methodName, int $lineno = … argument 28 if (-1 !== $lineno) { 37 parent::__construct($message, $lineno, $filename, $previous);
|
H A D | SecurityNotAllowedPropertyError.php | 26 …construct(string $message, string $className, string $propertyName, int $lineno = -1, string $file… argument 28 if (-1 !== $lineno) { 37 parent::__construct($message, $lineno, $filename, $previous);
|
/template/twigstarter/vendor/twig/twig/src/Node/Expression/ |
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 | ConstantExpression.php | 19 public function __construct($value, int $lineno) argument 21 parent::__construct([], ['value' => $value], $lineno);
|
H A D | TempNameExpression.php | 18 public function __construct(string $name, int $lineno) argument 20 parent::__construct([], ['name' => $name], $lineno);
|
H A D | InlinePrint.php | 22 public function __construct(Node $node, $lineno) argument 24 parent::__construct(['node' => $node], [], $lineno);
|
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Test/ |
H A D | DefinedTest.php | 38 public function __construct(Node $node, string $name, ?Node $arguments, int $lineno) argument 54 throw new SyntaxError('The "defined" test only works with simple variables.', $lineno); 57 parent::__construct($node, $name, $arguments, $lineno);
|