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

Method substack

src/codegen/sb3.rs:355–361  ·  view source on GitHub ↗
(&mut self, name: &str, this_id: Option<NodeID>)

Source from the content-addressed store, hash-verified

353 }
354
355 pub fn substack(&mut self, name: &str, this_id: Option<NodeID>) -> io::Result<()> {
356 let Some(this_id) = this_id else {
357 return Ok(());
358 };
359 write_comma_io(&mut self.zip, &mut self.inputs_comma)?;
360 write!(self, r#""{name}":[2,{this_id}]"#)
361 }
362
363 pub fn project(
364 &mut self,

Callers 4

repeatMethod · 0.80
foreverMethod · 0.80
branchMethod · 0.80
untilMethod · 0.80

Calls 1

write_comma_ioFunction · 0.85

Tested by

no test coverage detected