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

Method get_attr_id

language/move-prover/bytecode/src/stackless_bytecode.rs:349–365  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

347
348impl Bytecode {
349 pub fn get_attr_id(&self) -> AttrId {
350 use Bytecode::*;
351 match self {
352 Assign(id, ..)
353 | Call(id, ..)
354 | Ret(id, ..)
355 | Load(id, ..)
356 | Branch(id, ..)
357 | Jump(id, ..)
358 | Label(id, ..)
359 | Abort(id, ..)
360 | Nop(id)
361 | SaveMem(id, ..)
362 | SaveSpecVar(id, ..)
363 | Prop(id, ..) => *id,
364 }
365 }
366
367 pub fn is_exit(&self) -> bool {
368 matches!(

Callers 6

pretty_print_bytecodeMethod · 0.80
next_free_attr_indexMethod · 0.80
processMethod · 0.80
translate_bytecodeMethod · 0.80
bytecodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected