MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / parse_body_end

Function parse_body_end

parser/src/parsing/source.rs:12–18  ·  view source on GitHub ↗
(block: &syn::Block)

Source from the content-addressed store, hash-verified

10}
11
12pub(crate) fn parse_body_end(block: &syn::Block) -> LineColumn {
13 let end = block.span().end().into_loc();
14 LineColumn {
15 line: end.line,
16 column: end.column.map(|s| s - 1),
17 }
18}
19
20/// Parse the line and column number of function block.
21///

Callers 1

parseMethod · 0.85

Calls 3

into_locMethod · 0.80
spanMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected