Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Parser.php

function Parser::consumeWhitespaces

Same name in this branch
  1. 11.1.x vendor/symfony/yaml/Parser.php \Symfony\Component\Yaml\Parser::consumeWhitespaces()

Consumes as much whitespaces as possible

Return value

string

4 calls to Parser::consumeWhitespaces()
Parser::consumeCombinator in vendor/mck89/peast/lib/Peast/Selector/Parser.php
Consumes a combinator
Parser::parseSelector in vendor/mck89/peast/lib/Peast/Selector/Parser.php
Parses a selector
Parser::parseSelectorPartAttribute in vendor/mck89/peast/lib/Peast/Selector/Parser.php
Parses an attribute selector part
Parser::parseSelectorPartPseudo in vendor/mck89/peast/lib/Peast/Selector/Parser.php
Parses a pseudo selector part

File

vendor/mck89/peast/lib/Peast/Selector/Parser.php, line 554

Class

Parser
Selector parser class

Namespace

Peast\Selector

Code

protected function consumeWhitespaces() {
    return $this->consumeAny($this->whitespaces);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal