fn location(&'a self, id: Self::FileId, byte_index: usize) -> Option<Location> {
        let line_index = self.line_index(id, byte_index)?;

        Some(Location {
            line_number: self.line_number(id, line_index)?,
            column_number: self.column_number(id, line_index, byte_index)?,
        })
    }
/// Convenience method for returning line and column number at the given a
/// byte index in the file.
Convenience method for returning line and column number at the given a
byte index in the file.
Convenience method for returning line and column number at the given a byte index in the file .
fn location(&'a self, id: Self::FileId, byte_index: usize) -> Option<Location> {
        let line_index = self.line_index(id, byte_index)?;
        Some(Location {
            line_number: self.line_number(id, line_index)?,
            column_number: self.column_number(id, line_index, byte_index)?,
        })
    }
fn location ( & ' a self , id : Self :: FileId , byte_index : usize ) -> Option < Location > { let line_index = self . line_index ( id , byte_index ) ? ; Some ( Location { line_number : self . line_number ( id , line_index ) ? , column_number : self . column_number ( id , line_index , byte_index ) ? , } ) }
Convenience method for returning line and column number at the given a
byte index in the file.
Convenience method for returning line and column number at the given a byte index in the file .
&'a self
id
Self::FileId
byte_index
usize
&'a self
id
Self::FileId
byte_index
usize