MCPcopy Index your code
hub / github.com/endbasic/endbasic / add

Method add

repl/src/editor.rs:683–686  ·  view source on GitHub ↗

Registers a new expected side-effect `co` on the console.

(mut self, co: CapturedOut)

Source from the content-addressed store, hash-verified

681
682 /// Registers a new expected side-effect `co` on the console.
683 fn add(mut self, co: CapturedOut) -> Self {
684 self.output.push(co);
685 self
686 }
687
688 /// Registers that the file has been modified.
689 fn set_dirty(mut self) -> Self {

Calls 1

pushMethod · 0.80

Tested by 10

test_split_last_lineFunction · 0.64
test_move_endFunction · 0.64
test_tab_appendFunction · 0.64