Searched refs:Token (Results 26 – 28 of 28) sorted by path
12
17 use Twig\Token; alias33 public function parse(Token $token)
15 use Twig\Token; alias24 public function parse(Token $token)44 public function decideWithEnd(Token $token)
47 public function next(): Token59 * @return Token|null The next token if the condition is true, null otherwise71 public function expect($type, $value = null, string $message = null): Token78 Token::typeToEnglish($token->getType()),80 Token::typeToEnglish($type), $value ? sprintf(' with value "%s"', $value) : ''),93 public function look(int $number = 1): Token118 public function getCurrent(): Token