Trait hyper_ast::types::TypedNodeStore
source · pub trait TypedNodeStore<IdN: TypedNodeId> {
type R<'a>: Typed<Type = IdN::Ty>
where Self: 'a;
// Required methods
fn try_typed(&self, id: &IdN::IdN) -> Option<IdN>;
fn resolve(&self, id: &IdN) -> Self::R<'_>;
// Provided method
fn try_resolve(&self, id: &IdN::IdN) -> Option<(Self::R<'_>, IdN)> { ... }
}