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

Method constant_pool

language/move-binary-format/src/binary_views.rs:86–91  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

84 }
85
86 pub fn constant_pool(&self) -> &[Constant] {
87 match self {
88 BinaryIndexedView::Module(module) => module.constant_pool(),
89 BinaryIndexedView::Script(script) => script.constant_pool(),
90 }
91 }
92
93 pub fn constant_at(&self, idx: ConstantPoolIndex) -> &Constant {
94 match self {

Callers 9

check_constantsMethod · 0.45
check_codeMethod · 0.45
generateMethod · 0.45
get_constantMethod · 0.45
decl_ana_constMethod · 0.45
dummy_from_viewMethod · 0.45
verify_module_implMethod · 0.45
verify_script_implMethod · 0.45
verify_module_implFunction · 0.45

Calls

no outgoing calls

Tested by 1

generateMethod · 0.36