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

Method get_local_count

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

Gets the number of locals of this function, including parameters.

(&self)

Source from the content-addressed store, hash-verified

237
238 /// Gets the number of locals of this function, including parameters.
239 pub fn get_local_count(&self) -> usize {
240 self.data.local_types.len()
241 }
242
243 /// Gets the number of user declared locals of this function, excluding locals which have
244 /// been introduced by transformations.

Callers 12

prepare_local_stateMethod · 0.45
newMethod · 0.45
get_user_local_countMethod · 0.45
newMethod · 0.45
fmtMethod · 0.45
processMethod · 0.45
get_typeMethod · 0.45
analyze_funMethod · 0.45
add_errorMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected