Skip to main content

children

Function children 

Source
fn children(
    n: &Node,
    n_objs: usize,
    inter: &BTreeMap<usize, usize>,
    out: &mut Vec<usize>,
) -> bool
Expand description

節点が直接持つ強参照の先(節点番号)を out に積む。読めなければ false。 節点番号は Obj が台帳の番号、Scope が n_objs + 台帳の番号。 番号を読めない(借用中・未登録の)先は積まない(安全側)。