pub fn extract(source: &str, offset: usize) -> Locals
Scan the buffer for the function header that encloses offset. When the cursor sits outside any function the returned struct is empty.
offset