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

Method eval_function_with_id

aiscript-vm/src/vm/state.rs:1129–1136  ·  view source on GitHub ↗
(
        &mut self,
        chunk_id: ChunkId,
        params: &[Value<'gc>],
    )

Source from the content-addressed store, hash-verified

1127 }
1128
1129 pub(crate) fn eval_function_with_id(
1130 &mut self,
1131 chunk_id: ChunkId,
1132 params: &[Value<'gc>],
1133 ) -> Result<Value<'gc>, VmError> {
1134 let function = self.get_chunk(chunk_id)?;
1135 self.eval_function(function, params)
1136 }
1137
1138 pub(crate) fn eval_function(
1139 &mut self,

Callers 2

handle_tool_callMethod · 0.80
eval_functionMethod · 0.80

Calls 2

get_chunkMethod · 0.80
eval_functionMethod · 0.45

Tested by

no test coverage detected