pub trait VisitorCtx<'a>: Sized {
    type Output;
    type Ctx;

    fn accept(self, node: SyntaxNodeRef<'a>) -> Result<Self::Output, Self::Ctx>;

    fn visit<N, F>(self, f: F) -> VisCtx<Self, N, F>
    where
        N: AstNode<'a>,
        F: FnOnce(N, Self::Ctx) -> Self::Output
, { ... } }

Required Associated Types

Required Methods

Provided Methods

Implementors