CSS selector reader.
This component is a port of the Python cssselect library,
which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
- author Jean-François Simon
- internal
CloneableInstantiable
Methods |
public __construct(string $source) |
public findPattern(string $pattern) : array|false |
public getOffset(string $string) : int|bool
|
public getPosition() : int |
public getRemainingLength() : int |
public getSubstring(int $length, int $offset = 0) : string |
public isEOF() : bool |
public moveForward(int $length) : void |
public moveToEnd() : void |
Properties |
private int $length |
private int $position = 0 |
private string $source |