Trait swc_visit::NodeRef

source ·
pub trait NodeRef: Copy {
    type ParentKind: ParentKind;

    // Required methods
    fn kind(&self) -> Self::ParentKind;
    fn set_index(&mut self, index: usize);
}

Required Associated Types§

Required Methods§

source

fn kind(&self) -> Self::ParentKind

source

fn set_index(&mut self, index: usize)

Object Safety§

This trait is not object safe.

Implementors§