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

Function add_interactive

std/src/exec.rs:119–121  ·  view source on GitHub ↗

Instantiates all REPL commands for the interactive machine and adds them to the `machine`.

(machine: &mut MachineBuilder)

Source from the content-addressed store, hash-verified

117
118/// Instantiates all REPL commands for the interactive machine and adds them to the `machine`.
119pub fn add_interactive(machine: &mut MachineBuilder) {
120 machine.add_callable(ClearCommand::new(machine.actions()));
121}
122
123#[cfg(test)]
124mod tests {

Callers 1

buildMethod · 0.85

Calls 2

actionsMethod · 0.80
add_callableMethod · 0.45

Tested by

no test coverage detected