cairo_lang_sierra_generator::statements_locations

Function maybe_code_location

source
pub fn maybe_code_location(
    db: &dyn DefsGroup,
    location: StableLocation,
) -> Option<(SourceFileFullPath, SourceCodeSpan)>
Expand description

Returns a location in the user file corresponding to the given StableLocation. It consists of a full path to the file and a text span in the file.