FunctionNode

class FunctionNode 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() from AbstractNode
__construct(NodeInterface $selector, string $name, array $arguments = array())
NodeInterface getSelector()
string getName()
Token[] getArguments()
Specificity getSpecificity()

Returns node's specificity.

string __toString()

Returns node's string representation.

Details

string getNodeName()

Return Value

string

__construct(NodeInterface $selector, string $name, array $arguments = array())

Parameters

NodeInterface $selector
string $name
array $arguments

NodeInterface getSelector()

Return Value

NodeInterface

string getName()

Return Value

string

Token[] getArguments()

Return Value

Token[]

Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

string __toString()

Returns node's string representation.

Return Value

string

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/CssSelector/Node/FunctionNode.html