30 lines
1 KiB
YAML
30 lines
1 KiB
YAML
|
name: TranslatorInterface
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: SelectorNode
|
||
|
type: class
|
||
|
source: Symfony\Component\CssSelector\Node\SelectorNode
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: cssToXPath
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: cssExpr
|
||
|
- name: prefix
|
||
|
default: '''descendant-or-self::'''
|
||
|
comment: "# * XPath expression translator interface.\n# *\n# * This component is\
|
||
|
\ a port of the Python cssselect library,\n# * which is copyright Ian Bicking,\
|
||
|
\ @see https://github.com/SimonSapin/cssselect.\n# *\n# * @author Jean-Fran\xE7\
|
||
|
ois Simon <jeanfrancois.simon@sensiolabs.com>\n# *\n# * @internal\n# */\n# interface\
|
||
|
\ TranslatorInterface\n# {\n# /**\n# * Translates a CSS selector to an XPath expression."
|
||
|
- name: selectorToXPath
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: selector
|
||
|
- name: prefix
|
||
|
default: '''descendant-or-self::'''
|
||
|
comment: '# * Translates a parsed selector node to an XPath expression.'
|
||
|
traits:
|
||
|
- Symfony\Component\CssSelector\Node\SelectorNode
|
||
|
interfaces: []
|