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

Method new_line

language/move-compiler/src/shared/ast_debug.rs:75–77  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

73 }
74
75 pub fn new_line(&mut self) {
76 self.lines.push(String::new());
77 }
78
79 pub fn write(&mut self, s: impl AsRef<str>) {
80 let margin = self.margin;

Callers 10

ast_debugMethod · 0.80
ast_debugMethod · 0.80
ast_debugMethod · 0.80
ast_debugMethod · 0.80
ast_debugMethod · 0.80
writelnMethod · 0.80
indentMethod · 0.80
listMethod · 0.80
ast_debugMethod · 0.80
ast_debugMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected