source_string_at_location_unchecked

Function source_string_at_location_unchecked 

Source
pub fn source_string_at_location_unchecked<'a>(
    source: &'a str,
    location: &SourceLocation,
) -> &'a str
Expand description

Get the source string at the given location.

ยงArguments

  • source - The source string
  • location - The source location. The index in the location is not checked whether it is the same as the id of the source.