if (null
!== ($tag =
$this->
getLineTag($this->currentLine,
$flags, false
)) && !
$this->
moveToNextLine()) { return new TaggedValue($tag, ''
);
} do { if ($this->
isCurrentLineEmpty()) { continue;
} // tab?
if ("\t" ===
$this->currentLine
[0
]) { throw new ParseException('A YAML file cannot contain tabs as indentation.',
$this->
getRealCurrentLineNb() + 1,
$this->currentLine,
$this->filename
);
} Inline::
initialize($flags,
$this->
getRealCurrentLineNb(),
$this->filename
);
$isRef =
$mergeNode = false;
if ('-' ===
$this->currentLine
[0
] && self::
preg_match('#^\-((?P<leadspaces>\s+)(?P<value>.+))?$#u',
rtrim($this->currentLine
),
$values)) { if ($context && 'mapping' ==
$context) { throw new ParseException('You cannot define a sequence item when in a mapping.',
$this->
getRealCurrentLineNb() + 1,
$this->currentLine,
$this->filename
);
} $context = 'sequence';