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

Method get_spec

language/move-prover/bytecode/src/function_target.rs:266–268  ·  view source on GitHub ↗

Returns specification associated with this function.

(&'env self)

Source from the content-addressed store, hash-verified

264
265 /// Returns specification associated with this function.
266 pub fn get_spec(&'env self) -> &'env Spec {
267 self.func_env.get_spec()
268 }
269
270 /// Returns the value of a boolean pragma for this function. This first looks up a
271 /// pragma in this function, then the enclosing module, and finally uses the provided default.

Callers 10

runFunction · 0.45
generate_bytecodeMethod · 0.45
dump_resultMethod · 0.45
processMethod · 0.45
finalizeMethod · 0.45
analyzeMethod · 0.45
is_pack_ref_structMethod · 0.45
analyzeMethod · 0.45
add_errorMethod · 0.45

Calls

no outgoing calls

Tested by 1

dump_resultMethod · 0.36