30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
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
|