Home
last modified time | relevance | path

Searched refs:parser (Results 26 – 35 of 35) sorted by path

12

/template/twigstarter/vendor/twig/twig/src/TokenParser/
H A DImportTokenParser.php27 $macro = $this->parser->getExpressionParser()->parseExpression();
28 $this->parser->getStream()->expect(/* Token::NAME_TYPE */ 5, 'as');
29 …$var = new AssignNameExpression($this->parser->getStream()->expect(/* Token::NAME_TYPE */ 5)->getV…
30 $this->parser->getStream()->expect(/* Token::BLOCK_END_TYPE */ 3);
32 $this->parser->addImportedSymbol('template', $var->getAttribute('name'));
34 …return new ImportNode($macro, $var, $token->getLine(), $this->getTag(), $this->parser->isMainScope…
H A DIncludeTokenParser.php29 $expr = $this->parser->getExpressionParser()->parseExpression();
38 $stream = $this->parser->getStream();
49 $variables = $this->parser->getExpressionParser()->parseExpression();
H A DMacroTokenParser.php32 $stream = $this->parser->getStream();
35 $arguments = $this->parser->getExpressionParser()->parseArguments(true, true);
38 $this->parser->pushLocalScope();
39 $body = $this->parser->subparse([$this, 'decideBlockEnd'], true);
47 $this->parser->popLocalScope();
50 …$this->parser->setMacro($name, new MacroNode($name, new BodyNode([$body]), $arguments, $lineno, $t…
H A DSandboxTokenParser.php33 $stream = $this->parser->getStream();
35 $body = $this->parser->subparse([$this, 'decideBlockEnd'], true);
H A DSetTokenParser.php33 $stream = $this->parser->getStream();
34 $names = $this->parser->getExpressionParser()->parseAssignmentExpression();
38 $values = $this->parser->getExpressionParser()->parseMultitargetExpression();
54 $values = $this->parser->subparse([$this, 'decideBlockEnd'], true);
H A DSpacelessTokenParser.php33 $stream = $this->parser->getStream();
39 $body = $this->parser->subparse([$this, 'decideSpacelessEnd'], true);
H A DTokenParserInterface.php29 public function setParser(Parser $parser); argument
H A DUseTokenParser.php35 $template = $this->parser->getExpressionParser()->parseExpression();
36 $stream = $this->parser->getStream();
62 … $this->parser->addTrait(new Node(['template' => $template, 'targets' => new Node($targets)]));
H A DWithTokenParser.php26 $stream = $this->parser->getStream();
31 $variables = $this->parser->getExpressionParser()->parseExpression();
37 $body = $this->parser->subparse([$this, 'decideWithEnd'], true);
/template/vector/static/3rd/vector/
H A Dcsshover.htc80 // interate the sheet's rules and send them to the parser

12