Lines Matching refs:token
14 * Scanner Status Selector recognizes token of a css selector sequence.
48 * Try to get token in buffer at offset position.
55 if ($token = $this->matchCharacters($buffer, $offset, $this->_tokenChars)) {
56 return $token;
58 if ($token = $this->matchPatterns($buffer, $offset, $this->_tokenPatterns)) {
59 return $token;
65 * Check if token ends status
67 * @param Scanner\Token $token
70 public function isEndToken(Scanner\Token $token): bool {
77 * @param Scanner\Token $token
80 public function getNewStatus(Scanner\Token $token): ?Scanner\Status {
81 switch ($token->type) {