Lines Matching refs:parse

65             return $this->parse(file_get_contents($filename), $flags);
81 public function parse(string $value, int $flags = 0)
202 // this is a compact notation element, add to next block and parse
369 throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
373 return Inline::parse($this->lexInlineQuotedString(), $flags, $this->refs);
382 throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
386 $parsedMapping = Inline::parse($this->lexInlineMapping(), $flags, $this->refs);
390 throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
403 throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
407 $parsedSequence = Inline::parse($this->lexInlineSequence(), $flags, $this->refs);
411 throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
435 $value = Inline::parse($this->lines[0], $flags, $this->refs);
446 // try to parse the value as a multi-line string as a last resort
459 throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
491 return Inline::parse(trim($value));
497 throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename);
761 return Inline::parse($this->lexInlineMapping($cursor), $flags, $this->refs);
765 return Inline::parse($this->lexInlineSequence($cursor), $flags, $this->refs);
772 $parsedValue = Inline::parse($this->lexInlineQuotedString($cursor), $flags, $this->refs);
808 $parsedValue = Inline::parse($value, $flags, $this->refs);