Json5StreamParser._rootTokenCouldExtend

private bool _rootTokenCouldExtend() const @safe

Detect a root value ending in an open-ended token at the buffer end.

Parameters

pThe parser whose last consumed token is checked.

Returns

true when the last token consumed before END ends exactly at the

buffer end and its final byte could continue a NUMBER or IDENTIFIER token (digit, '.', letter, '_' or '$').