Token

Token

class Token

CSS selector token.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

Constants

TYPE_FILE_END
TYPE_DELIMITER
TYPE_WHITESPACE
TYPE_IDENTIFIER
TYPE_HASH
TYPE_NUMBER
TYPE_STRING

Methods

__construct(int $type, string $value, int $position)
int getType()