fn parentage<'r>(
        node: &'r Syntax<'arena, T, V>,
        position: usize,
    ) -> Vec<&'r Syntax<'arena, T, V>>
    where
        'r: 'arena,
    {
        let mut acc = vec![];
        if position < node.full_width() {
            Self::parentage_(node, position, &mut acc);
        }
        acc
    }
// TODO:(shiqicao) move this function to SyntaxTrait, see D18359931
(shiqicao) move this function to SyntaxTrait, see D18359931
( shiqicao ) move this function to SyntaxTrait see D18359931
fn parentage<'r>(
        node: &'r Syntax<'arena, T, V>,
        position: usize,
    ) -> Vec<&'r Syntax<'arena, T, V>>
    where
        'r: 'arena,
    {
        let mut acc = vec![];
        if position < node.full_width() {
            Self::parentage_(node, position, &mut acc);
        }
        acc
    }
fn parentage < ' r > ( node : & ' r Syntax < ' arena , T , V > , position : usize , ) -> Vec < & ' r Syntax < ' arena , T , V > > where ' r : ' arena , { let mut acc = vec ! [ ] ; if position < node . full_width ( ) { Self :: parentage_ ( node , position , & mut acc ) ; } acc }
TODO:(shiqicao) move this function to SyntaxTrait, see D18359931
TODO : ( shiqicao ) move this function to SyntaxTrait see D18359931
node
&'r Syntax<'arena, T, V>
position
usize
node
&'r Syntax<'arena, T, V>
position
usize