/// Find a AstNode by offset inside SyntaxNode, if it is inside *MacroCall*,
/// descend it and find again
Find a AstNode by offset inside SyntaxNode, if it is inside *MacroCall*,
descend it and find again
Find a AstNode by offset inside SyntaxNode if it is inside * MacroCall * descend it and find again
pub fn find_node_at_offset_with_descend<N: AstNode>(
        &self,
        node: &SyntaxNode,
        offset: TextSize,
    ) -> Option<N> {
        if let Some(it) = find_node_at_offset(&node, offset) {
            return Some(it);
        }
        self.descend_node_at_offset(&node, offset)
    }
pub fn find_node_at_offset_with_descend < N : AstNode > ( & self , node : & SyntaxNode , offset : TextSize , ) -> Option < N > { if let Some ( it ) = find_node_at_offset ( & node , offset ) { return Some ( it ) ; } self . descend_node_at_offset ( & node , offset ) }
Find a AstNode by offset inside SyntaxNode, if it is inside *MacroCall*,
descend it and find again
Find a AstNode by offset inside SyntaxNode if it is inside * MacroCall * descend it and find again
&self
node
&SyntaxNode
offset
TextSize