Copied!

XPath expression translator function extension.

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

CloneableInstantiable
Methods
public Symfony\Component\CssSelector\XPath\Extension\AbstractExtension::getAttributeMatchingTranslators() : array
public Symfony\Component\CssSelector\XPath\Extension\AbstractExtension::getCombinationTranslators() : array
public getFunctionTranslators() : array
public getName() : string
public Symfony\Component\CssSelector\XPath\Extension\AbstractExtension::getNodeTranslators() : array
public Symfony\Component\CssSelector\XPath\Extension\AbstractExtension::getPseudoClassTranslators() : array
public translateContains(Symfony\Component\CssSelector\XPath\XPathExpr $xpath, Symfony\Component\CssSelector\Node\FunctionNode $function) : Symfony\Component\CssSelector\XPath\XPathExpr
 
  • throws \ExpressionErrorException
public translateLang(Symfony\Component\CssSelector\XPath\XPathExpr $xpath, Symfony\Component\CssSelector\Node\FunctionNode $function) : Symfony\Component\CssSelector\XPath\XPathExpr
 
  • throws \ExpressionErrorException
public translateNthChild(Symfony\Component\CssSelector\XPath\XPathExpr $xpath, Symfony\Component\CssSelector\Node\FunctionNode $function, bool $last = false, bool $addNameTest = true) : Symfony\Component\CssSelector\XPath\XPathExpr
 
  • throws \ExpressionErrorException
public translateNthLastChild(Symfony\Component\CssSelector\XPath\XPathExpr $xpath, Symfony\Component\CssSelector\Node\FunctionNode $function) : Symfony\Component\CssSelector\XPath\XPathExpr
public translateNthLastOfType(Symfony\Component\CssSelector\XPath\XPathExpr $xpath, Symfony\Component\CssSelector\Node\FunctionNode $function) : Symfony\Component\CssSelector\XPath\XPathExpr
 
  • throws \ExpressionErrorException
public translateNthOfType(Symfony\Component\CssSelector\XPath\XPathExpr $xpath, Symfony\Component\CssSelector\Node\FunctionNode $function) : Symfony\Component\CssSelector\XPath\XPathExpr
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration