Expand description
Function declaration parser (fn).
Handles named function declarations in the form:
fn name(T param, T param) -> ReturnType {
body
}Return type annotations are optional; omitting -> T defaults to
TypeAnnotation::Null. The is_entry flag is set when the function is
preceded by a !#[entry] attribute, marking it as the program entry point.