Node\NegationNode (Component\CssSelector)

Symfony\Component\CssSelector\Node\NegationNode

class NegationNode extends AbstractNode

Represents a ":not()" 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, NodeInterface $subSelector)
NodeInterface getSelector()
NodeInterface getSubSelector()
Specificity getSpecificity()

Returns node's specificity.

string __toString()

Returns node's string representation.

Details

public string getNodeName()

Return Value

string

public __construct(NodeInterface $selector, NodeInterface $subSelector)

Parameters

NodeInterface $selector
NodeInterface $subSelector

public NodeInterface getSelector()

Return Value

NodeInterface

public NodeInterface getSubSelector()

Return Value

NodeInterface

public Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

public string __toString()

Returns node's string representation.

Return Value

string

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/CssSelector/Node/NegationNode.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部