You are here

private function Parser::parseBlock in Loft Data Grids 7.2

1 call to Parser::parseBlock()
Parser::doParse in vendor/symfony/yaml/Parser.php

File

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

Class

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

Namespace

Symfony\Component\Yaml

Code

private function parseBlock($offset, $yaml, $exceptionOnInvalidType, $objectSupport, $objectForMap) {
  $skippedLineNumbers = $this->skippedLineNumbers;
  foreach ($this->locallySkippedLineNumbers as $lineNumber) {
    if ($lineNumber < $offset) {
      continue;
    }
    $skippedLineNumbers[] = $lineNumber;
  }
  $parser = new self($offset, $this->totalNumberOfLines, $skippedLineNumbers);
  $parser->refs =& $this->refs;
  return $parser
    ->doParse($yaml, $exceptionOnInvalidType, $objectSupport, $objectForMap);
}