private function Translator::parseSelectors in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/XPath/Translator.php \Symfony\Component\CssSelector\XPath\Translator::parseSelectors()
Parameters
string $css:
Return value
1 call to Translator::parseSelectors()
- Translator::cssToXPath in vendor/
symfony/ css-selector/ XPath/ Translator.php - Translates a CSS selector to an XPath expression.
File
- vendor/
symfony/ css-selector/ XPath/ Translator.php, line 287
Class
- Translator
- XPath expression translator interface.
Namespace
Symfony\Component\CssSelector\XPathCode
private function parseSelectors($css) {
foreach ($this->shortcutParsers as $shortcut) {
$tokens = $shortcut
->parse($css);
if (!empty($tokens)) {
return $tokens;
}
}
return $this->mainParser
->parse($css);
}