pub fn compute_id_range_for_fn_body(fk: FnKind,
                                    decl: &FnDecl,
                                    body: &Expr,
                                    sp: Span,
                                    id: NodeId)
                                    -> IdRange {
    let mut visitor = IdRangeComputingVisitor::new();
    visitor.visit_fn(fk, decl, body, sp, id);
    visitor.result()
}
/// Computes the id range for a single fn body, ignoring nested items.
Computes the id range for a single fn body, ignoring nested items.
Computes the id range for a single fn body ignoring nested items .
pub fn compute_id_range_for_fn_body(fk: FnKind,
                                    decl: &FnDecl,
                                    body: &Expr,
                                    sp: Span,
                                    id: NodeId)
                                    -> IdRange {
    let mut visitor = IdRangeComputingVisitor::new();
    visitor.visit_fn(fk, decl, body, sp, id);
    visitor.result()
}
pub fn compute_id_range_for_fn_body ( fk : FnKind , decl : & FnDecl , body : & Expr , sp : Span , id : NodeId ) -> IdRange { let mut visitor = IdRangeComputingVisitor :: new ( ) ; visitor . visit_fn ( fk , decl , body , sp , id ) ; visitor . result ( ) }
Computes the id range for a single fn body, ignoring nested items.
Computes the id range for a single fn body ignoring nested items .
fk
FnKind
decl
&FnDecl
body
&Expr
sp
Span
id
NodeId
fk
FnKind
decl
&FnDecl
body
&Expr
sp
Span
id
NodeId