Lines Matching refs:Scanner
13 use PhpCss\Scanner;
35 Scanner\Token::IDENTIFIER,
36 Scanner\Token::ID_SELECTOR,
37 Scanner\Token::CLASS_SELECTOR,
38 Scanner\Token::PSEUDO_CLASS,
39 Scanner\Token::PSEUDO_ELEMENT,
40 Scanner\Token::ATTRIBUTE_SELECTOR_START,
41 Scanner\Token::COMBINATOR,
50 case Scanner\Token::SEPARATOR :
51 $this->read(Scanner\Token::SEPARATOR);
53 case Scanner\Token::PSEUDO_CLASS :
56 case Scanner\Token::PSEUDO_ELEMENT :
60 case Scanner\Token::ATTRIBUTE_SELECTOR_START :
64 case Scanner\Token::COMBINATOR :
65 case Scanner\Token::WHITESPACE :
82 Scanner\Token::ID_SELECTOR,
83 Scanner\Token::CLASS_SELECTOR,
84 Scanner\Token::PSEUDO_CLASS,
85 Scanner\Token::PSEUDO_ELEMENT,
86 Scanner\Token::ATTRIBUTE_SELECTOR_START,
87 Scanner\Token::COMBINATOR,
88 Scanner\Token::WHITESPACE,
89 Scanner\Token::SEPARATOR,
96 private function createSelector(Scanner\Token $token) {
98 case Scanner\Token::IDENTIFIER :
109 case Scanner\Token::ID_SELECTOR :
111 case Scanner\Token::CLASS_SELECTOR :
118 Scanner\Token $token,