Home
last modified time | relevance | path

Searched refs:lineno (Results 1 – 25 of 60) sorted by path

123

/template/twigstarter/vendor/twig/twig/src/Error/
H A DError.php41 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 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);
H A DLexer.php27 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 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…
H A DSandboxExtension.php80 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 DAutoEscapeNode.php29 public function __construct($value, Node $body, int $lineno, string $tag = 'autoescape') argument
31 parent::__construct(['body' => $body], ['value' => $value], $lineno, $tag);
H A DBlockNode.php24 public function __construct(string $name, Node $body, int $lineno, string $tag = null) argument
26 parent::__construct(['body' => $body], ['name' => $name], $lineno, $tag);
H A DBlockReferenceNode.php24 public function __construct(string $name, int $lineno, string $tag = null) argument
26 parent::__construct([], ['name' => $name], $lineno, $tag);
H A DDeprecatedNode.php25 public function __construct(AbstractExpression $expr, int $lineno, string $tag = null) argument
27 parent::__construct(['expr' => $expr], [], $lineno, $tag);
H A DDoNode.php24 public function __construct(AbstractExpression $expr, int $lineno, string $tag = null) argument
26 parent::__construct(['expr' => $expr], [], $lineno, $tag);
H A DEmbedNode.php26 …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 DArrayExpression.php20 public function __construct(array $elements, int $lineno) argument
22 parent::__construct($elements, [], $lineno);
H A DArrowFunctionExpression.php24 public function __construct(AbstractExpression $expr, Node $names, $lineno, $tag = null) argument
26 parent::__construct(['expr' => $expr, 'names' => $names], [], $lineno, $tag);
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 DConditionalExpression.php19 …truct(AbstractExpression $expr1, AbstractExpression $expr2, AbstractExpression $expr3, int $lineno) argument
21 parent::__construct(['expr1' => $expr1, 'expr2' => $expr2, 'expr3' => $expr3], [], $lineno);
H A DConstantExpression.php19 public function __construct($value, int $lineno) argument
21 parent::__construct([], ['value' => $value], $lineno);
H A DFilterExpression.php20 …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 DFunctionExpression.php19 public function __construct(string $name, Node $arguments, int $lineno) argument
21 …::__construct(['arguments' => $arguments], ['name' => $name, 'is_defined_test' => false], $lineno);
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);
H A DInlinePrint.php22 public function __construct(Node $node, $lineno) argument
24 parent::__construct(['node' => $node], [], $lineno);
H A DMethodCallExpression.php18 …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 DNameExpression.php25 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 DNullCoalesceExpression.php23 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 DAbstractBinary.php21 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 DDefaultFilter.php32 …struct(Node $node, ConstantExpression $filterName, Node $arguments, int $lineno, string $tag = nul… argument
45 parent::__construct($node, $filterName, $arguments, $lineno, $tag);

123