handle_format_result


Description:

public bool handle_format_result (int match_len, FormatType matched_format, unichar c, ref int chunk_pos, ref string str, ref string chunk, bool is_end_of_chunks)

Handles format peek result. Caller calls eat() then this. Updates chunk_pos, str, chunk when consuming; may set parser.leftover_chunk.

Returns:

true (need more characters or flushed; leftover_chunk may be set), false to keep processing the rest of the chunk