MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / get_context

Method get_context

aiscript-vm/src/vm/state.rs:158–163  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

156 }
157
158 pub fn get_context(&mut self) -> Context<'gc> {
159 Context {
160 mutation: self.mc,
161 strings: self.strings,
162 }
163 }
164
165 pub fn import_module(&mut self, path: InternedString<'gc>) -> Result<(), VmError> {
166 // Get the simple name (last component) from the path

Callers 15

serde_from_strFunction · 0.80
serde_from_fileFunction · 0.80
http_getFunction · 0.80
http_postFunction · 0.80
http_putFunction · 0.80
http_deleteFunction · 0.80
http_patchFunction · 0.80
http_headFunction · 0.80
env_argsFunction · 0.80
env_varsFunction · 0.80
env_getFunction · 0.80
jwt_decodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected