WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath

Translator::addCombination() public WC 1.0

{} It's a method of the class: Translator{}

No Hooks.

Return

XPathExpr.

Usage

$Translator = new Translator();
$Translator->addCombination( $combiner, $xpath, $combinedXpath );
$combiner(string) (required)
-
$xpath(NodeInterface) (required)
-
$combinedXpath(NodeInterface) (required)
-

Code of Translator::addCombination() WC 5.4.1

<?php
public function addCombination($combiner, NodeInterface $xpath, NodeInterface $combinedXpath)
{
    if (!isset($this->combinationTranslators[$combiner])) {
        throw new ExpressionErrorException(sprintf('Combiner "%s" not supported.', $combiner));
    }

    return call_user_func($this->combinationTranslators[$combiner], $this->nodeToXPath($xpath), $this->nodeToXPath($combinedXpath));
}