Skip to main content

parse_source_functions

Function parse_source_functions 

Source
pub fn parse_source_functions(
    source_id: u64,
    source: &str,
) -> Vec<SourceFunction>
Expand description

Finds every function-like declaration in a source file by scanning its text: functions, modifiers, constructors, fallback, and receive. This is what the debugger attributes steps to when the compiler emits no function boundaries.