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

Function print

language/move-compiler/src/shared/ast_debug.rs:36–40  ·  view source on GitHub ↗
(t: &T)

Source from the content-addressed store, hash-verified

34}
35
36pub fn print<T: AstDebug>(t: &T) {
37 let mut writer = AstWriter::normal();
38 t.ast_debug(&mut writer);
39 print!("{}", writer);
40}
41
42pub fn print_verbose<T: AstDebug>(t: &T) {
43 let mut writer = AstWriter::verbose();

Callers 3

debugMethod · 0.85
print_listFunction · 0.85
print_slice_elemFunction · 0.85

Calls 1

ast_debugMethod · 0.45

Tested by

no test coverage detected