/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 | Parser.php | 130 $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 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 | 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/Node/Expression/ |
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 | ArrayExpression.php | 20 public function __construct(array $elements, int $lineno) argument 22 parent::__construct($elements, [], $lineno);
|
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 | InlinePrint.php | 22 public function __construct(Node $node, $lineno) argument 24 parent::__construct(['node' => $node], [], $lineno);
|
/template/twigstarter/vendor/twig/twig/src/TokenParser/ |
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 | 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 | AutoEscapeTokenParser.php | 26 $lineno = $token->getLine(); 43 return new AutoEscapeNode($value, $body, $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 | 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 | 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/Node/ |
H A D | SandboxNode.php | 23 public function __construct(Node $body, int $lineno, string $tag = null) argument 25 parent::__construct(['body' => $body], [], $lineno, $tag);
|
H A D | SetNode.php | 24 …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 D | SpacelessNode.php | 27 public function __construct(Node $body, int $lineno, string $tag = 'spaceless') argument 29 parent::__construct(['body' => $body], [], $lineno, $tag);
|
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 | 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 | ForLoopNode.php | 23 public function __construct(int $lineno, string $tag = null) argument 25 …parent::__construct([], ['with_loop' => false, 'ifexpr' => false, 'else' => false], $lineno, $tag);
|
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);
|
/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/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);
|