Function rust_code_analysis::function[][src]

pub fn function<T: ParserTrait>(parser: &T) -> Vec<FunctionSpan>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
Expand description

Detects the span of each function in a code.

Returns a vector containing the FunctionSpan of each function