MCPcopy Index your code
hub / github.com/endbasic/endbasic / iter

Method iter

core/src/compiler/ids.rs:89–91  ·  view source on GitHub ↗

Iterates over all entries, yielding `(key, value, id)` tuples in arbitrary order.

(&self)

Source from the content-addressed store, hash-verified

87
88 /// Iterates over all entries, yielding `(key, value, id)` tuples in arbitrary order.
89 pub(super) fn iter(&self) -> impl Iterator<Item = (&K, &V, I)> + '_ {
90 self.map.iter().map(|(k, (v, i))| (k, v, *i))
91 }
92
93 /// Returns the keys in insertion order.
94 pub(super) fn keys_to_vec(&self) -> Vec<K> {

Callers 15

cleanupMethod · 0.80
parse_exprMethod · 0.80
flat_indexMethod · 0.80
disasmMethod · 0.80
describeMethod · 0.80
with_syntaxMethod · 0.80
syntaxMethod · 0.80
is_function_sepMethod · 0.80
find_syntaxMethod · 0.80
newMethod · 0.80
declare_callableFunction · 0.80

Calls

no outgoing calls

Tested by 6

execMethod · 0.64
add_input_keysMethod · 0.64
colorMethod · 0.64
set_syncMethod · 0.64
check_arrayMethod · 0.64
checkMethod · 0.64