Method | Description | |
---|---|---|
getAst ( string $cssSelector ) : PhpCss\Ast | Parses a css selector and returns the AST | |
reformat ( string $cssSelector ) : string | Parses a css selector and compiles it into an css selector again | |
toXpath ( string $cssSelector, integer $options ) : string | Parses a css selector and transforms it into an xpath expression |