Function extract_position

Source
pub fn extract_position<'store, HAST>(
    stores: &'store HAST,
    parents: &[HAST::IdN],
    offsets: &[usize],
) -> Position
where HAST: HyperAST<'store, IdN = NodeIdentifier, T = HashedNodeRef<'store>>, HAST::TS: TypeStore<Ty = AnyType>,
Expand description

precondition: slices are read from right to left eg. [dir, file, class, method, statement] ~> dir/file:20:40