pub(crate) struct Lines {
files: Box<[String]>,
sequences: Box<[LineSequence]>,
}
Fields§
§files: Box<[String]>
§sequences: Box<[LineSequence]>
Implementations§
source§impl Lines
impl Lines
fn parse<R: Reader>( dw_unit: UnitRef<'_, R>, ilnp: IncompleteLineProgram<R, R::Offset>, ) -> Result<Self, Error>
pub(crate) fn file(&self, index: u64) -> Option<&str>
pub(crate) fn ranges(&self) -> impl Iterator<Item = Range> + '_
fn row_location(&self, row: &LineRow) -> Location<'_>
pub(crate) fn find_location( &self, probe: u64, ) -> Result<Option<Location<'_>>, Error>
pub(crate) fn find_location_range( &self, probe_low: u64, probe_high: u64, ) -> Result<LineLocationRangeIter<'_>, Error>
Auto Trait Implementations§
impl Freeze for Lines
impl RefUnwindSafe for Lines
impl Send for Lines
impl Sync for Lines
impl Unpin for Lines
impl UnwindSafe for Lines
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more