Home
last modified time | relevance | path

Searched refs:getLine (Results 1 – 25 of 36) sorted by relevance

12

/template/twigstarter/vendor/twig/twig/src/
DExpressionParser.php85 $expr = new $class($expr, $expr1, $token->getLine());
107 $line = $stream->getCurrent()->getLine();
109 $names = [new AssignNameExpression($token->getValue(), $token->getLine())];
139 $line = $token->getLine();
144 $names[] = new AssignNameExpression($token->getValue(), $token->getLine());
166 return $this->parsePostfixExpression(new $class($expr, $token->getLine()));
186 … $expr3 = new ConstantExpression('', $this->parser->getCurrentToken()->getLine());
193 …pr = new ConditionalExpression($expr, $expr2, $expr3, $this->parser->getCurrentToken()->getLine());
218 $node = new ConstantExpression(true, $token->getLine());
223 $node = new ConstantExpression(false, $token->getLine());
[all …]
DParser.php108 $e->setTemplateLine($this->stream->getCurrent()->getLine());
130 $lineno = $this->getCurrentToken()->getLine();
136 $rv[] = new TextNode($token->getValue(), $token->getLine());
143 $rv[] = new PrintNode($expr, $token->getLine());
151 …throw new SyntaxError('A block must start with a tag name.', $token->getLine(), $this->stream->get…
168 … SyntaxError(sprintf('Unexpected "%s" tag', $token->getValue()), $token->getLine(), $this->stream-…
174 …ew SyntaxError(sprintf('Unknown "%s" tag.', $token->getValue()), $token->getLine(), $this->stream-…
191 …xer or parser ended up in unsupported state.', $this->getCurrentToken()->getLine(), $this->stream-…
DTokenStream.php50 …xError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(), $this->source);
75 $line = $token->getLine();
96 …expected end of template.', $this->tokens[$this->current + $number - 1]->getLine(), $this->source);
/template/twigstarter/vendor/twig/twig/src/TokenParser/
DEmbedTokenParser.php32 …tToken = $fakeParentToken = new Token(/* Token::STRING_TYPE */ 7, '__parent__', $token->getLine());
34 …ntToken = new Token(/* Token::STRING_TYPE */ 7, $parent->getAttribute('value'), $token->getLine());
36 …arentToken = new Token(/* Token::NAME_TYPE */ 5, $parent->getAttribute('name'), $token->getLine());
41 new Token(/* Token::BLOCK_START_TYPE */ 1, '', $token->getLine()),
42 new Token(/* Token::NAME_TYPE */ 5, 'extends', $token->getLine()),
44 new Token(/* Token::BLOCK_END_TYPE */ 3, '', $token->getLine()),
58 …odule->getAttribute('index'), $variables, $only, $ignoreMissing, $token->getLine(), $this->getTag(…
DExtendsTokenParser.php31 …throw new SyntaxError('Cannot use "extend" in a block.', $token->getLine(), $stream->getSourceCont…
33 …throw new SyntaxError('Cannot use "extend" in a macro.', $token->getLine(), $stream->getSourceCont…
37 …throw new SyntaxError('Multiple extends tags are forbidden.', $token->getLine(), $stream->getSourc…
DSetTokenParser.php32 $lineno = $token->getLine();
43 …e the same number of variables and assignments.', $stream->getCurrent()->getLine(), $stream->getSo…
49 …t with a block, you cannot have a multi-target.', $stream->getCurrent()->getLine(), $stream->getSo…
DBlockTokenParser.php34 $lineno = $token->getLine();
38 …his->parser->getBlock($name)->getTemplateLine()), $stream->getCurrent()->getLine(), $stream->getSo…
50 …or block "%s" (but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSo…
DImportTokenParser.php29 …ssion($this->parser->getStream()->expect(/* Token::NAME_TYPE */ 5)->getValue(), $token->getLine());
34 …return new ImportNode($macro, $var, $token->getLine(), $this->getTag(), $this->parser->isMainScope…
DAutoEscapeTokenParser.php26 $lineno = $token->getLine();
34 …An escaping strategy must be a string or false.', $stream->getCurrent()->getLine(), $stream->getSo…
DFromTokenParser.php49 $var = new AssignNameExpression($this->parser->getVarName(), $token->getLine());
50 …$node = new ImportNode($macro, $var, $token->getLine(), $this->getTag(), $this->parser->isMainScop…
DMacroTokenParser.php31 $lineno = $token->getLine();
44 …or macro "%s" (but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSo…
DIfTokenParser.php35 $lineno = $token->getLine();
64 …e the "if" block started at line %d).', $lineno), $stream->getCurrent()->getLine(), $stream->getSo…
DFlushTokenParser.php28 return new FlushNode($token->getLine(), $this->getTag());
DDoTokenParser.php28 return new DoNode($expr, $token->getLine(), $this->getTag());
DDeprecatedTokenParser.php35 return new DeprecatedNode($expr, $token->getLine(), $this->getTag());
DSpacelessTokenParser.php34 $lineno = $token->getLine();
DWithTokenParser.php41 return new WithNode($body, $variables, $only, $token->getLine(), $this->getTag());
DSandboxTokenParser.php51 return new SandboxNode($body, $token->getLine(), $this->getTag());
DIncludeTokenParser.php33 …return new IncludeNode($expr, $variables, $only, $ignoreMissing, $token->getLine(), $this->getTag(…
DUseTokenParser.php39 …ferences in a "use" statement must be a string.', $stream->getCurrent()->getLine(), $stream->getSo…
/template/strap/vendor/antlr/antlr4-php-runtime/src/
H A DLexer.php179 $this->tokenStartLine = $this->interp->getLine();
347 $lpos = $this->getLine();
364 public function getLine() : int function in Antlr\\Antlr4\\Runtime\\Lexer
370 return $this->interp->getLine();
H A DTokenSource.php39 public function getLine() : int; function
H A DToken.php63 public function getLine() : int; function
H A DCommonToken.php116 $this->line = $tokenSource->getLine();
166 public function getLine() : int function in Antlr\\Antlr4\\Runtime\\CommonToken
/template/strap/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DSimState.php57 public function getLine() : int function in Antlr\\Antlr4\\Runtime\\Atn\\SimState

12