[][src]Function c2rust_refactor::pick_node::pick_node

pub fn pick_node(
    krate: &Crate,
    kind: NodeKind,
    pos: BytePos
) -> Option<NodeInfo>

Select an AST node by its BytePos in the SourceMap. Only nodes of the specified kind will be selected.