Trait hyper_ast::types::Tree

source ·
pub trait Tree: Typed + Labeled + WithChildren {
    // Required methods
    fn has_children(&self) -> bool;
    fn has_label(&self) -> bool;
}

Required Methods§

source

fn has_children(&self) -> bool

source

fn has_label(&self) -> bool

Implementors§

source§

impl<'a, Id: 'static + TypedNodeId<IdN = NodeIdentifier>> Tree for hyper_ast::store::nodes::legion::HashedNodeRef<'a, Id>

source§

impl<'a, T: TypedNodeId> Tree for hyper_ast::store::nodes::fetched::HashedNodeRef<'a, T>where T::Ty: TypeTrait,

source§

impl<H: Hash + PrimInt, U: NodeHashs<Hash = H>, N: NodeId<IdN = N> + Copy + Eq, L: Eq, T: Copy + Hash + Eq + Sync + Send + HyperType> Tree for HashedCompressedNode<U, N, L, T>where N::IdN: Copy + Eq,

source§

impl<N: NodeId<IdN = N> + Eq + Clone, L: Eq, T: Copy + Hash + Eq + HyperType + Send + Sync> Tree for CompressedNode<N, L, T>where N::IdN: Copy,