Skip to main content

declaration_of

Function declaration_of 

Source
pub fn declaration_of(src: &str) -> Result<String, Vec<String>>
Expand description

The .d.tl for a module’s source: every function body removed and its signature moved into the record it belongs to. Err when a function statement cannot be placed, rather than a file with a silently missing function in it.