handle_block_result


Description:

public bool handle_block_result (int block_match, string block_lang, FormatType matched_block, int byte_length, int space_skip, ref int chunk_pos, string chunk, int saved_chunk_pos, bool is_end_of_chunks)

Handles block peek result. Caller calls peek() then this. Updates chunk_pos when a block is consumed.

Returns:

true (need more characters; parser.leftover_chunk set), false (to keep processing the rest of the chunk)