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

Breadcrumb

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

function Parser::moveToNextLine

Moves the parser to the next line.

9 calls to Parser::moveToNextLine()
Parser::consumeWhitespaces in vendor/symfony/yaml/Parser.php
Parser::doParse in vendor/symfony/yaml/Parser.php
Parser::getNextEmbedBlock in vendor/symfony/yaml/Parser.php
Returns the next embed block of YAML.
Parser::isNextLineIndented in vendor/symfony/yaml/Parser.php
Returns true if the next line is indented.
Parser::isNextLineUnIndentedCollection in vendor/symfony/yaml/Parser.php

... See full list

File

vendor/symfony/yaml/Parser.php, line 676

Class

Parser
Parser parses YAML strings to convert them to PHP arrays.

Namespace

Symfony\Component\Yaml

Code

private function moveToNextLine() : bool {
    if ($this->currentLineNb >= $this->numberOfParsedLines - 1) {
        return false;
    }
    $this->currentLine = $this->lines[++$this->currentLineNb];
    return true;
}

API Navigation

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