XPath expression translator node extension.

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

Cloneable Instantiable
Constants
public Symfony\Component\CssSelector\XPath\Extension\NodeExtension ::ATTRIBUTE_NAME_IN_LOWER_CASE = 2
public Symfony\Component\CssSelector\XPath\Extension\NodeExtension ::ATTRIBUTE_VALUE_IN_LOWER_CASE = 4
public Symfony\Component\CssSelector\XPath\Extension\NodeExtension ::ELEMENT_NAME_IN_LOWER_CASE = 1
Methods
public __construct ( int $flags = 0 )
public Symfony\Component\CssSelector\XPath\Extension\AbstractExtension :: getAttributeMatchingTranslators () : array
 
public Symfony\Component\CssSelector\XPath\Extension\AbstractExtension :: getCombinationTranslators () : array
 
public Symfony\Component\CssSelector\XPath\Extension\AbstractExtension :: getFunctionTranslators () : array
 
public getName () : string
 

Returns extension name.

public getNodeTranslators () : array
 
public Symfony\Component\CssSelector\XPath\Extension\AbstractExtension :: getPseudoClassTranslators () : array
 
public hasFlag ( int $flag ) : bool
public setFlag ( int $flag , bool $on ) : static
 
  • return $this
public translateAttribute ( Symfony\Component\CssSelector\Node\AttributeNode $node , Symfony\Component\CssSelector\XPath\Translator $translator ) : Symfony\Component\CssSelector\XPath\XPathExpr
public translateClass ( Symfony\Component\CssSelector\Node\ClassNode $node , Symfony\Component\CssSelector\XPath\Translator $translator ) : Symfony\Component\CssSelector\XPath\XPathExpr
public translateCombinedSelector ( Symfony\Component\CssSelector\Node\CombinedSelectorNode $node , Symfony\Component\CssSelector\XPath\Translator $translator ) : Symfony\Component\CssSelector\XPath\XPathExpr
public translateElement ( Symfony\Component\CssSelector\Node\ElementNode $node ) : Symfony\Component\CssSelector\XPath\XPathExpr
public translateFunction ( Symfony\Component\CssSelector\Node\FunctionNode $node , Symfony\Component\CssSelector\XPath\Translator $translator ) : Symfony\Component\CssSelector\XPath\XPathExpr
public translateHash ( Symfony\Component\CssSelector\Node\HashNode $node , Symfony\Component\CssSelector\XPath\Translator $translator ) : Symfony\Component\CssSelector\XPath\XPathExpr
public translateNegation ( Symfony\Component\CssSelector\Node\NegationNode $node , Symfony\Component\CssSelector\XPath\Translator $translator ) : Symfony\Component\CssSelector\XPath\XPathExpr
public translatePseudo ( Symfony\Component\CssSelector\Node\PseudoNode $node , Symfony\Component\CssSelector\XPath\Translator $translator ) : Symfony\Component\CssSelector\XPath\XPathExpr
public translateSelector ( Symfony\Component\CssSelector\Node\SelectorNode $node , Symfony\Component\CssSelector\XPath\Translator $translator ) : Symfony\Component\CssSelector\XPath\XPathExpr
Properties
private int $flags
Methods
private isSafeName ( string $name ) : bool
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration