Lines Matching refs:currentLineNb
35 private $currentLineNb = -1;
118 $this->currentLineNb = -1;
222 throw new ParseException('You cannot define a mapping item when in a sequence.', $this->currentLineNb + 1, $this->currentLine, $this->filename);
251 throw new ParseException(sprintf('Circular reference [%s] detected for reference "%s".', implode(', ', array_merge(\array_slice($this->refsBeingParsed, $pos), [$refName])), $refName), $this->currentLineNb + 1, $this->currentLine, $this->filename);
425 throw new ParseException('Multiple documents are not supported.', $this->currentLineNb + 1, $this->currentLine, $this->filename);
447 if (0 === $this->currentLineNb) {
547 $realCurrentLineNumber = $this->currentLineNb + $this->offset;
679 return (\count($this->lines) - 1) > $this->currentLineNb;
687 if ($this->currentLineNb >= $this->numberOfParsedLines - 1) {
691 $this->currentLine = $this->lines[++$this->currentLineNb];
701 if ($this->currentLineNb < 1) {
705 $this->currentLine = $this->lines[--$this->currentLineNb];
732 throw new ParseException(sprintf('Circular reference [%s] detected for reference "%s".', implode(', ', array_merge(\array_slice($this->refsBeingParsed, $pos), [$value])), $value), $this->currentLineNb + 1, $this->currentLine, $this->filename);
735 throw new ParseException(sprintf('Reference "%s" does not exist.', $value), $this->currentLineNb + 1, $this->currentLine, $this->filename);
993 return ($this->offset + $this->currentLineNb) >= ($this->totalNumberOfLines - 1);