You are here

public function FunctionExtension::translateNthLastChild in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/XPath/Extension/FunctionExtension.php \Symfony\Component\CssSelector\XPath\Extension\FunctionExtension::translateNthLastChild()

Parameters

XPathExpr $xpath:

FunctionNode $function:

Return value

XPathExpr

File

vendor/symfony/css-selector/XPath/Extension/FunctionExtension.php, line 117

Class

FunctionExtension
XPath expression translator function extension.

Namespace

Symfony\Component\CssSelector\XPath\Extension

Code

public function translateNthLastChild(XPathExpr $xpath, FunctionNode $function) {
  return $this
    ->translateNthChild($xpath, $function, true);
}