Skip to main content

flatten

Function flatten 

Source
pub fn flatten<'a>(
    arena: &AstArena,
    entries: impl IntoIterator<Item = &'a DeclEntry>,
) -> Vec<u32>
Expand description

the declarations of entries: the sets and the maps are iterated ([Symbol.iterator](), which may compute a shorthand: each iteration runs it again, like the typescript iterators)