[][src]Struct kg_tree::opath::NodePathMatcher

pub struct NodePathMatcher { /* fields omitted */ }

Methods

impl NodePathMatcher[src]

pub fn new() -> NodePathMatcher[src]

pub fn insert(&mut self, n: &NodeRef)[src]

pub fn insert_cache(&mut self, n: &NodeRef, cache: &mut dyn OpathCache)[src]

pub fn resolve(
    &mut self,
    expr: &Opath,
    root: &NodeRef,
    current: &NodeRef
) -> ExprResult<()>
[src]

pub fn resolve_cache(
    &mut self,
    expr: &Opath,
    root: &NodeRef,
    current: &NodeRef,
    cache: &mut dyn OpathCache
) -> ExprResult<()>
[src]

pub fn resolve_ext(
    &mut self,
    expr: &Opath,
    root: &NodeRef,
    current: &NodeRef,
    scope: &Scope
) -> ExprResult<()>
[src]

pub fn resolve_ext_cache(
    &mut self,
    expr: &Opath,
    root: &NodeRef,
    current: &NodeRef,
    scope: &Scope,
    cache: &mut dyn OpathCache
) -> ExprResult<()>
[src]

pub fn matches(&self, path: &Opath) -> bool[src]

pub fn clear(&mut self)[src]

Trait Implementations

impl Debug for NodePathMatcher[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]