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

Method get_callable

core/src/compiler/syms.rs:218–220  ·  view source on GitHub ↗

Gets a callable by its name `key`.

(&self, key: &SymbolKey)

Source from the content-addressed store, hash-verified

216
217 /// Gets a callable by its name `key`.
218 pub(crate) fn get_callable(&self, key: &SymbolKey) -> Option<Rc<CallableMetadata>> {
219 self.user_callables.get(key).or(self.upcalls.get(key)).cloned()
220 }
221}
222
223#[derive(Clone, Default)]

Callers 10

compile_exprFunction · 0.80
compile_assignmentFunction · 0.80
compile_forFunction · 0.80
compile_stmtFunction · 0.80
test_get_callable_upcallFunction · 0.80
define_new_argsFunction · 0.80
compile_argsFunction · 0.80

Calls 1

getMethod · 0.45