Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser

ParserInterface{}interfaceWC 1.0

CSS selector parser interface.

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

No Hooks.

Usage

$ParserInterface = new ParserInterface();
// use class methods

Methods

  1. public parse(string $source)

ParserInterface{} code WC 10.4.3

interface ParserInterface
{
    /**
     * Parses given selector source into an array of tokens.
     *
     * @return SelectorNode[]
     */
    public function parse(string $source): array;
}