FunctionNode::getSelector()

NodeInterface getSelector() Return Value NodeInterface

FunctionNode::getName()

string getName() Return Value string

FunctionNode::getArguments()

Token[] getArguments() Return Value Token[]

FunctionNode::evaluate()

evaluate($functions, $values) Parameters $functions $values

FunctionNode::compile()

compile(Compiler $compiler) Parameters Compiler $compiler

FunctionNode

class FunctionNode extends Node Properties $nodes from Node $attributes from Node Methods __construct($name, Node $arguments) Constructor. __toString() from Node compile(Compiler $compiler) evaluate($functions, $values) Details __construct($name, Node $arguments) Constructor. Parameters $name Node $arguments __toString() compile(Compiler $compi

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

FunctionExtension::translateNthOfType()

XPathExpr translateNthOfType(XPathExpr $xpath, FunctionNode $function) Parameters XPathExpr $xpath FunctionNode $function Return Value XPathExpr

FunctionExtension::translateNthLastOfType()

XPathExpr translateNthLastOfType(XPathExpr $xpath, FunctionNode $function) Parameters XPathExpr $xpath FunctionNode $function Return Value XPathExpr Exceptions ExpressionErrorException

FunctionExtension::translateNthLastChild()

XPathExpr translateNthLastChild(XPathExpr $xpath, FunctionNode $function) Parameters XPathExpr $xpath FunctionNode $function Return Value XPathExpr