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

Method current_version

compiler/src/modules/parser/mod.rs:92–94  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

90
91impl<'src, I: Iterator<Item = Token>> Parser<'src, I> {
92 pub(super) fn current_version(&self, name: &str) -> u32 {
93 self.ssa_versions.get(name).copied().unwrap_or(0)
94 }
95
96 pub(super) fn ssa_name<'a>(name: &str, ver: u32, buf: &'a mut [u8; 128]) -> &'a str {
97 let name_bytes = name.as_bytes();

Callers 7

parse_del_targetMethod · 0.80
comprehension_loopMethod · 0.80
callMethod · 0.80
func_def_innerMethod · 0.80
increment_versionMethod · 0.80
emit_load_ssaMethod · 0.80
try_stmtMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected