pub fn find_node_at_offset_with_macros<N: AstNode>(
        &self,
        node: &SyntaxNode,
        offset: TextSize,
    ) -> Option<N> {
        self.ancestors_at_offset_with_macros(node, offset).find_map(N::cast)
    }
/// Find a AstNode by offset inside SyntaxNode, if it is inside *Macrofile*,
/// search up until it is of the target AstNode type
Find a AstNode by offset inside SyntaxNode, if it is inside *Macrofile*,
search up until it is of the target AstNode type
Find a AstNode by offset inside SyntaxNode if it is inside * Macrofile * search up until it is of the target AstNode type
pub fn find_node_at_offset_with_macros<N: AstNode>(
        &self,
        node: &SyntaxNode,
        offset: TextSize,
    ) -> Option<N> {
        self.ancestors_at_offset_with_macros(node, offset).find_map(N::cast)
    }
pub fn find_node_at_offset_with_macros < N : AstNode > ( & self , node : & SyntaxNode , offset : TextSize , ) -> Option < N > { self . ancestors_at_offset_with_macros ( node , offset ) . find_map ( N :: cast ) }
Find a AstNode by offset inside SyntaxNode, if it is inside *Macrofile*,
search up until it is of the target AstNode type
Find a AstNode by offset inside SyntaxNode if it is inside * Macrofile * search up until it is of the target AstNode type
&self
node
&SyntaxNode
offset
TextSize
&self
node
&SyntaxNode
offset
TextSize