MCPcopy Create free account
hub / github.com/endbasic/endbasic / len

Method len

core/src/compiler/ids.rs:84–86  ·  view source on GitHub ↗

Returns the number of assigned identifiers.

(&self)

Source from the content-addressed store, hash-verified

82
83 /// Returns the number of assigned identifiers.
84 pub(super) fn len(&self) -> usize {
85 self.map.len()
86 }
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)> + '_ {

Callers 15

newMethod · 0.45
compile_array_accessFunction · 0.45
next_pcMethod · 0.45
emitMethod · 0.45
build_image_deltaMethod · 0.45
compile_selectFunction · 0.45
compile_ifFunction · 0.45
compile_stmtFunction · 0.45
declare_callableFunction · 0.45
only_metadataFunction · 0.45
prepare_globalsFunction · 0.45
with_reserved_tempMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected