Scanner.getIncrement

bool getIncrement(ref dchar c, ref int increment, const Mark startMark) @safe

Get increment indicator, if detected. Return false otherwise.

Used in scanBlockScalarIndicators.

Parameters

cThe character that may be an increment indicator. If an increment indicator is detected, this will be updated to the next character in the Reader.
incrementWrite the increment value here, if detected.
startMarkMark for error messages.