parseMiRecord

fnMiRecord parseMiRecord(const(char)[] line) @trusted

Parses a single MI output line.

Parameters

lineLine without trailing CR/LF.

Returns

Parsed record, or MiUnknownRecord if the line does not match MI grammar.