class SelectorNode extends AbstractNode

Represents a "(::|:)" node.

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

Methods

string
getNodeName()

No description

__construct(NodeInterface $tree, string|null $pseudoElement = null)

No description

getTree()

No description

string|null
getPseudoElement()

No description

getSpecificity()

Returns node's specificity.

string
__toString()

Returns node's string representation.

Details

in AbstractNode at line 34
string getNodeName()

Return Value

string

at line 33
__construct(NodeInterface $tree, string|null $pseudoElement = null)

Parameters

NodeInterface $tree
string|null $pseudoElement

at line 42
NodeInterface getTree()

Return Value

NodeInterface

at line 50
string|null getPseudoElement()

Return Value

string|null

at line 58
Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 66
string __toString()

Returns node's string representation.

Return Value

string