Automattic\WooCommerce\EmailEditorVendor\Symfony\Component\CssSelector\Parser
Parser::parse
{@inheritdoc}
Method of the class: Parser{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Parser = new Parser(); $Parser->parse( $source ): array;
- $source(string) (required)
- .
Parser::parse() Parser::parse code WC 11.3.0
public function parse(string $source): array
{
$reader = new Reader($source);
$stream = $this->tokenizer->tokenize($reader);
return $this->parseSelectorList($stream);
}