MCPcopy Create free account
hub / github.com/d0iasm/saba / add_variable

Method add_variable

core/src/renderer/js/runtime.rs:126–128  ·  view source on GitHub ↗
(&mut self, name: String, value: Option<RuntimeValue>)

Source from the content-addressed store, hash-verified

124 }
125
126 fn add_variable(&mut self, name: String, value: Option<RuntimeValue>) {
127 self.variables.push((name, value));
128 }
129
130 fn update_variable(&mut self, name: String, value: Option<RuntimeValue>) {
131 for i in 0..self.variables.len() {

Callers 2

newMethod · 0.80
evalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected