MCPcopy Create free account
hub / github.com/diem/move / instantiate

Method instantiate

language/move-prover/bytecode/src/stackless_bytecode.rs:267–272  ·  view source on GitHub ↗
(&self, params: &[Type])

Source from the content-addressed store, hash-verified

265 }
266
267 pub fn instantiate(&self, params: &[Type]) -> Self {
268 match self {
269 Self::GlobalRoot(qid) => Self::GlobalRoot(qid.instantiate_ref(params)),
270 _ => self.clone(),
271 }
272 }
273}
274
275/// A borrow edge.

Callers 15

generate_bytecodeMethod · 0.45
get_modify_idsMethod · 0.45
get_packed_typesFunction · 0.45
executeMethod · 0.45
get_typeMethod · 0.45
substitute_footprintMethod · 0.45
instantiate_memMethod · 0.45
add_type_rootMethod · 0.45
add_structMethod · 0.45

Calls 6

FieldClass · 0.85
instantiate_refMethod · 0.80
FunctionClass · 0.50
cloneMethod · 0.45
mapMethod · 0.45
iterMethod · 0.45

Tested by 3

translate_spec_funMethod · 0.36
instMethod · 0.36