[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 230 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Translator:: (13 methods):
__construct()
getXpathLiteral()
cssToXPath()
selectorToXPath()
registerExtension()
getExtension()
registerParserShortcut()
nodeToXPath()
addCombination()
addFunction()
addPseudoClass()
addAttributeMatching()
parseSelectors()
Class: Translator - X-Ref
XPath expression translator interface.__construct(ParserInterface $parser = null) X-Ref |
getXpathLiteral(string $element) X-Ref |
No description |
cssToXPath(string $cssExpr, string $prefix = 'descendant-or-self::') X-Ref |
{@inheritdoc} |
selectorToXPath(SelectorNode $selector, string $prefix = 'descendant-or-self::') X-Ref |
{@inheritdoc} |
registerExtension(Extension\ExtensionInterface $extension) X-Ref |
return: $this |
getExtension(string $name) X-Ref |
registerParserShortcut(ParserInterface $shortcut) X-Ref |
return: $this |
nodeToXPath(NodeInterface $node) X-Ref |
addCombination(string $combiner, NodeInterface $xpath, NodeInterface $combinedXpath) X-Ref |
addFunction(XPathExpr $xpath, FunctionNode $function) X-Ref |
addPseudoClass(XPathExpr $xpath, string $pseudoClass) X-Ref |
addAttributeMatching(XPathExpr $xpath, string $operator, string $attribute, $value) X-Ref |
parseSelectors(string $css) X-Ref |
return: SelectorNode[] |