platform/api/symfony/Component/CssSelector/XPath/Extension/NodeExtension.yaml
2024-09-02 10:44:11 -07:00

118 lines
3 KiB
YAML

name: NodeExtension
class_comment: "# * XPath expression translator node extension.\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"
dependencies:
- name: Node
type: class
source: Symfony\Component\CssSelector\Node
- name: Translator
type: class
source: Symfony\Component\CssSelector\XPath\Translator
- name: XPathExpr
type: class
source: Symfony\Component\CssSelector\XPath\XPathExpr
properties: []
methods:
- name: setFlag
visibility: public
parameters:
- name: flag
- name: 'on'
comment: "# * XPath expression translator node extension.\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# class\
\ NodeExtension extends AbstractExtension\n# {\n# public const ELEMENT_NAME_IN_LOWER_CASE\
\ = 1;\n# public const ATTRIBUTE_NAME_IN_LOWER_CASE = 2;\n# public const ATTRIBUTE_VALUE_IN_LOWER_CASE\
\ = 4;\n# \n# public function __construct(\n# private int $flags = 0,\n# ) {\n\
# }\n# \n# /**\n# * @return $this"
- name: hasFlag
visibility: public
parameters:
- name: flag
comment: null
- name: getNodeTranslators
visibility: public
parameters: []
comment: null
- name: translateSelector
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translateCombinedSelector
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translateNegation
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translateMatching
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translateSpecificityAdjustment
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translateFunction
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translatePseudo
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translateAttribute
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translateClass
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translateHash
visibility: public
parameters:
- name: node
- name: translator
comment: null
- name: translateElement
visibility: public
parameters:
- name: node
comment: null
- name: getName
visibility: public
parameters: []
comment: null
- name: isSafeName
visibility: private
parameters:
- name: name
comment: null
traits:
- Symfony\Component\CssSelector\Node
- Symfony\Component\CssSelector\XPath\Translator
- Symfony\Component\CssSelector\XPath\XPathExpr
interfaces: []