public function isEndToken(Scanner\Token $token) { return $token->type == Scanner\Token::ATTRIBUTE_SELECTOR_END; }