pub fn find_function_insert_position(source: &str) -> usize
Find a good position to insert a function.
Current policy inserts at end-of-file.