Searched refs:token (Results 26 – 32 of 32) sorted by path
12
/template/twigstarter/vendor/twig/twig/src/TokenParser/ |
H A D | SandboxTokenParser.php | 31 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 D | SetTokenParser.php | 30 public function parse(Token $token) argument 32 $lineno = $token->getLine(); 61 public function decideBlockEnd(Token $token) argument 63 return $token->test('endset');
|
H A D | SpacelessTokenParser.php | 31 public function parse(Token $token) argument 34 $lineno = $token->getLine(); 45 public function decideSpacelessEnd(Token $token) argument 47 return $token->test('endspaceless');
|
H A D | TokenParserInterface.php | 38 public function parse(Token $token); argument
|
H A D | UseTokenParser.php | 33 public function parse(Token $token) argument
|
H A D | WithTokenParser.php | 24 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 D | TokenStream.php | 73 $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