Type Alias StructuralPosition

Source
pub type StructuralPosition<IdN = NodeIdentifier, Idx = u16> = StructuralPosition<IdN, Idx>;

Aliased Type§

struct StructuralPosition<IdN = NodeIdentifier, Idx = u16> { /* private fields */ }

Implementations§

Source§

impl StructuralPosition<NodeIdentifier, u16>

Source

pub fn make_position<'store, HAST>(&self, stores: &'store HAST) -> Position
where HAST: HyperAST<'store, T = HashedNodeRef<'store>, IdN = NodeIdentifier, Label = LabelIdentifier>, HAST::TS: TypeStore<Ty = AnyType>,

Source

pub fn make_file_line_range<'store, HAST>( &self, stores: &'store HAST, ) -> (String, usize, usize)
where HAST: HyperAST<'store, T = HashedNodeRef<'store>, IdN = NodeIdentifier, Label = LabelIdentifier>, HAST::TS: TypeStore<Ty = AnyType>,