Home
last modified time | relevance | path

Searched refs:token (Results 26 – 32 of 32) sorted by path

12

/template/twigstarter/vendor/twig/twig/src/TokenParser/
H A DSandboxTokenParser.php31 public function parse(Token $token) argument
51 return new SandboxNode($body, $token->getLine(), $this->getTag());
54 public function decideBlockEnd(Token $token) argument
56 return $token->test('endsandbox');
H A DSetTokenParser.php30 public function parse(Token $token) argument
32 $lineno = $token->getLine();
61 public function decideBlockEnd(Token $token) argument
63 return $token->test('endset');
H A DSpacelessTokenParser.php31 public function parse(Token $token) argument
34 $lineno = $token->getLine();
45 public function decideSpacelessEnd(Token $token) argument
47 return $token->test('endspaceless');
H A DTokenParserInterface.php38 public function parse(Token $token); argument
H A DUseTokenParser.php33 public function parse(Token $token) argument
H A DWithTokenParser.php24 public function parse(Token $token) argument
41 return new WithNode($body, $variables, $only, $token->getLine(), $this->getTag());
44 public function decideWithEnd(Token $token) argument
46 return $token->test('endwith');
/template/twigstarter/vendor/twig/twig/src/
H A DTokenStream.php73 $token = $this->tokens[$this->current];
74 if (!$token->test($type, $value)) {
75 $line = $token->getLine();
78 Token::typeToEnglish($token->getType()),
79 $token->getValue() ? sprintf(' of value "%s"', $token->getValue()) : '',
87 return $token;

12