Lines Matching refs:context
138 $context = null;
166 if ($context && 'mapping' == $context) {
169 $context = 'sequence';
201 $data[] = $this->parseValue($values['value'], $flags, $context);
212 if ($context && 'sequence' == $context) {
215 $context = 'mapping';
345 $value = $this->parseValue(rtrim($values['value']), $flags, $context);
432 if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && !\is_object($data) && 'mapping' === $context) {
636 * @param string $context The parser context (either sequence or mapping)
642 private function parseValue(string $value, int $flags, string $context) argument
721 …if ('mapping' === $context && \is_string($parsedValue) && '"' !== $value[0] && "'" !== $value[0] &…