MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / get_bare_loc

Function get_bare_loc

src/ast/loc.rs:11–13  ·  view source on GitHub ↗

Get the absolute location

(loc: &SourceLocation)

Source from the content-addressed store, hash-verified

9
10/// Get the absolute location
11pub fn get_bare_loc(loc: &SourceLocation) -> Option<&BareSourceLocation> {
12 loc.spelling_loc.as_ref()
13}
14
15/// Get the bigin location of this range.
16pub fn get_sr_begin_loc(sr: &SourceRange) -> Result<&BareSourceLocation> {

Callers 3

get_var_uninit_locFunction · 0.85
get_fd_locMethod · 0.85
get_fd_param_locMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected