find_top_level_loop_call

Function find_top_level_loop_call 

Source
fn find_top_level_loop_call(s: &str) -> Option<(&str, &str, &str, &str)>
Expand description

Locate a top-level loop(<n_expr>, <body>) call in s. Returns (before, n_expr, body, after) slices into s, or None if no well-formed top-level loop exists.