Skip to main content

scan_cursor_for_loops

Function scan_cursor_for_loops 

Source
pub fn scan_cursor_for_loops(
    unit_logical_id: &str,
    source: &str,
) -> Vec<CursorForLoopSite>
Expand description

Scan a routine source for cursor FOR loops, yielding one CursorForLoopSite per loop. Text-level, mirroring scan_exception_handlers. A numeric range loop (FOR i IN 1..10 LOOP) is not a cursor loop and yields no site (R13: a false fact is worse than a missing one).