You are here

public function ParserInterface::parse in Zircon Profile 8

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

Parses given selector source into an array of tokens.

Parameters

string $source:

Return value

SelectorNode[]

5 methods override ParserInterface::parse()
ClassParser::parse in vendor/symfony/css-selector/Parser/Shortcut/ClassParser.php
Parses given selector source into an array of tokens.
ElementParser::parse in vendor/symfony/css-selector/Parser/Shortcut/ElementParser.php
Parses given selector source into an array of tokens.
EmptyStringParser::parse in vendor/symfony/css-selector/Parser/Shortcut/EmptyStringParser.php
Parses given selector source into an array of tokens.
HashParser::parse in vendor/symfony/css-selector/Parser/Shortcut/HashParser.php
Parses given selector source into an array of tokens.
Parser::parse in vendor/symfony/css-selector/Parser/Parser.php
Parses given selector source into an array of tokens.

File

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

Class

ParserInterface
CSS selector parser interface.

Namespace

Symfony\Component\CssSelector\Parser

Code

public function parse($source);