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

Method get

core/src/compiler/ids.rs:47–49  ·  view source on GitHub ↗

Gets the value and identifier for a `key`. Returns `None` if the key is not present.

(&self, key: &K)

Source from the content-addressed store, hash-verified

45 ///
46 /// Returns `None` if the key is not present.
47 pub(super) fn get(&self, key: &K) -> Option<(&V, I)> {
48 self.map.get(key).map(|(v, i)| (v, *i))
49 }
50
51 /// Gets mutable access to the value and identifier for a `key`.
52 ///

Callers 15

get_constantMethod · 0.45
apply_fixupsMethod · 0.45
get_upcallMethod · 0.45
get_varFunction · 0.45
contains_globalMethod · 0.45
declare_user_callableMethod · 0.45
get_callableMethod · 0.45
dropMethod · 0.45
with_reserved_tempMethod · 0.45
contains_localMethod · 0.45
newMethod · 0.45
insertMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected