MCPcopy Create free account
hub / github.com/aspizu/goboscript / new_id

Method new_id

src/codegen/node_id_factory.rs:17–21  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

15 }
16
17 pub fn new_id(&mut self) -> NodeID {
18 let value = self.value;
19 self.value += 1;
20 NodeID::new(value)
21 }
22}
23
24impl Iterator for NodeIDFactory {

Callers 15

repeatMethod · 0.80
foreverMethod · 0.80
branchMethod · 0.80
untilMethod · 0.80
set_varMethod · 0.80
change_varMethod · 0.80
add_to_listMethod · 0.80
delete_list_indexMethod · 0.80
list_insertMethod · 0.80
blockMethod · 0.80
proc_call_implMethod · 0.80
procMethod · 0.80

Calls 1

newFunction · 0.85

Tested by

no test coverage detected