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

Method increment_version

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

Source from the content-addressed store, hash-verified

111 }
112
113 pub(super) fn increment_version(&mut self, name: &str) -> u32 {
114 let cur = self.current_version(name);
115 let new = cur + 1;
116 self.ssa_versions.insert(name.to_string(), new);
117 new
118 }
119
120 pub(super) fn push_ssa_name(&mut self, name: &str, ver: u32) -> u16 {
121 let mut buf = [0u8; 128];

Callers 11

class_def_withMethod · 0.80
func_def_innerMethod · 0.80
store_nameMethod · 0.80
commit_blockMethod · 0.80
match_stmtMethod · 0.80
parse_simple_patternMethod · 0.80
bind_module_attrMethod · 0.80
resolve_and_bind_allMethod · 0.80
infix_bpMethod · 0.80
nameMethod · 0.80

Calls 2

current_versionMethod · 0.80
insertMethod · 0.80

Tested by

no test coverage detected