MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / pack_call

Function pack_call

compiler/src/modules/parser/mod.rs:50–52  ·  view source on GitHub ↗
(pos: u16, kw: u16)

Source from the content-addressed store, hash-verified

48// Call operand: high byte keyword count, low byte positional count.
49#[inline]
50pub(super) const fn pack_call(pos: u16, kw: u16) -> u16 {
51 ((kw & 0xFF) << 8) | (pos & 0xFF)
52}
53
54// Shared spec -> compiled-chunk cache; a Vec (linear scan) avoids a hashbrown monomorphization.
55pub(crate) type ModuleCache = alloc::rc::Rc<core::cell::RefCell<Vec<(String, alloc::rc::Rc<SSAChunk>)>>>;

Callers 3

name_stmtMethod · 0.85
callMethod · 0.85
postfix_tailMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected