Lines Matching refs:currentLine
34 private $currentLine = ''; variable in Symfony\\Component\\Yaml\\Parser
102 $this->currentLine = '';
124 $this->currentLine = '';
148 …if (null !== ($tag = $this->getLineTag($this->currentLine, $flags, false)) && !$this->moveToNextLi…
158 if ("\t" === $this->currentLine[0]) {
159 …ntain tabs as indentation.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filenam…
165 …if ('-' === $this->currentLine[0] && self::preg_match('#^\-((?P<leadspaces>\s+)(?P<value>.+))?$#u'…
167 …nce item when in a mapping', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filenam…
178 …tion('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1, $this->currentLine);
209 …?:!?!php/const:)?[^ \'"\[\{!].*?)) *\:(\s++(?P<value>.+))?$#u', rtrim($this->currentLine), $values)
213 …e a mapping item when in a sequence', $this->currentLineNb + 1, $this->currentLine, $this->filenam…
221 $e->setSnippet($this->currentLine);
227 …_numeric($key) ? 'Numeric' : 'Non-string'), $this->getRealCurrentLineNb() + 1, $this->currentLine);
242 …gParsed, $pos)), $refName, $refName), $this->currentLineNb + 1, $this->currentLine, $this->filenam…
245 …does not exist.', $refName), $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filenam…
255 …value instead of an array.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filenam…
272 …value instead of an array.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filenam…
318 …intf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine);
341 …tion(sprintf('Duplicate key "%s" detected.', $key), $realCurrentLineNbKey + 1, $this->currentLine);
351 …intf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine);
360 if ('---' === $this->currentLine) {
361 …ltiple documents are not supported.', $this->currentLineNb + 1, $this->currentLine, $this->filenam…
364 …if ($deprecatedUsage = (isset($this->currentLine[1]) && '?' === $this->currentLine[0] && ' ' === $…
365 …tion('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1, $this->currentLine);
374 $e->setSnippet($this->currentLine);
391 …xception('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filenam…
424 …xception('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filenam…
496 return \strlen($this->currentLine) - \strlen(ltrim($this->currentLine, ' '));
543 …tion('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filenam…
551 $data[] = substr($this->currentLine, $newIndent);
553 $data[] = $this->currentLine;
579 $data[] = substr($this->currentLine, $newIndent);
584 $data[] = substr($this->currentLine, $newIndent);
586 $data[] = $this->currentLine;
592 …tion('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filenam…
610 $this->currentLine = $this->lines[++$this->currentLineNb];
626 $this->currentLine = $this->lines[--$this->currentLineNb];
653 …BeingParsed, $pos)), $value, $value), $this->currentLineNb + 1, $this->currentLine, $this->filenam…
656 …rence "%s" does not exist.', $value), $this->currentLineNb + 1, $this->currentLine, $this->filenam…
696 $lines[] = trim($this->currentLine);
699 if ('' !== $this->currentLine && substr($this->currentLine, -1) === $quotation) {
728 $e->setSnippet($this->currentLine);
764 $currentLineLength = \strlen($this->currentLine);
766 for ($i = 0; $i < $currentLineLength && ' ' === $this->currentLine[$i]; ++$i) {
777 self::preg_match($pattern, $this->currentLine, $matches)
780 if ($isCurrentLineBlank && \strlen($this->currentLine) > $indentation) {
781 $blockLines[] = substr($this->currentLine, $indentation);
895 return '' == trim($this->currentLine, ' ');
906 $ltrimmedLine = ltrim($this->currentLine, ' ');
992 return '-' === rtrim($this->currentLine) || 0 === strpos($this->currentLine, '- ');