Add buffer method for getting the symbols containing a position

This commit is contained in:
Max Brunsfeld 2022-03-15 14:04:58 -07:00
parent a0224cbe71
commit 257601b3c1
3 changed files with 146 additions and 38 deletions

View file

@ -10,7 +10,7 @@ pub struct Outline<T> {
path_candidate_prefixes: Vec<usize>,
}
#[derive(Clone, Debug)]
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct OutlineItem<T> {
pub depth: usize,
pub range: Range<T>,