api/symfony/Component/CssSelector/Parser/Shortcut/EmptyStringParser.yaml

31 lines
1.1 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: EmptyStringParser
class_comment: "# * CSS selector class parser shortcut.\n# *\n# * This shortcut ensure\
\ compatibility with previous version.\n# * - The parser fails to parse an empty\
\ string.\n# * - In the previous version, an empty string matches each tags.\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\xE7ois Simon <jeanfrancois.simon@sensiolabs.com>\n# *\n# * @internal"
dependencies:
- name: ElementNode
type: class
source: Symfony\Component\CssSelector\Node\ElementNode
- name: SelectorNode
type: class
source: Symfony\Component\CssSelector\Node\SelectorNode
- name: ParserInterface
type: class
source: Symfony\Component\CssSelector\Parser\ParserInterface
properties: []
methods:
- name: parse
visibility: public
parameters:
- name: source
comment: null
traits:
- Symfony\Component\CssSelector\Node\ElementNode
- Symfony\Component\CssSelector\Node\SelectorNode
- Symfony\Component\CssSelector\Parser\ParserInterface
interfaces:
- ParserInterface