You are here

interface ParserInterface in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/css-selector/Parser/ParserInterface.php \Symfony\Component\CssSelector\Parser\ParserInterface
  2. 8 core/modules/aggregator/src/Plugin/ParserInterface.php \Drupal\aggregator\Plugin\ParserInterface
Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Parser/ParserInterface.php \Symfony\Component\CssSelector\Parser\ParserInterface

CSS selector parser interface.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>

Hierarchy

Expanded class hierarchy of ParserInterface

All classes that implement ParserInterface

See also

https://github.com/SimonSapin/cssselect.

5 files declare their use of ParserInterface
ClassParser.php in vendor/symfony/css-selector/Parser/Shortcut/ClassParser.php
ElementParser.php in vendor/symfony/css-selector/Parser/Shortcut/ElementParser.php
EmptyStringParser.php in vendor/symfony/css-selector/Parser/Shortcut/EmptyStringParser.php
HashParser.php in vendor/symfony/css-selector/Parser/Shortcut/HashParser.php
Translator.php in vendor/symfony/css-selector/XPath/Translator.php

File

vendor/symfony/css-selector/Parser/ParserInterface.php, line 24

Namespace

Symfony\Component\CssSelector\Parser
View source
interface ParserInterface {

  /**
   * Parses given selector source into an array of tokens.
   *
   * @param string $source
   *
   * @return SelectorNode[]
   */
  public function parse($source);

}

Members

Namesort descending Modifiers Type Description Overrides
ParserInterface::parse public function Parses given selector source into an array of tokens. 6