MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / fmt

Method fmt

src/sql-parser/src/ast/display.rs:35–42  ·  view source on GitHub ↗
(&self, f: &mut AstFormatter<W>)

Source from the content-addressed store, hash-verified

33 T: AstDisplay,
34{
35 fn fmt<W: fmt::Write>(&self, f: &mut AstFormatter<W>) {
36 let mut delim = "";
37 for t in self.slice {
38 f.write_str(delim);
39 delim = self.sep;
40 t.fmt(f);
41 }
42 }
43}
44
45impl<'a, T> std::fmt::Display for DisplaySeparated<'a, T>

Callers 2

write_nodeMethod · 0.45
to_ast_stringMethod · 0.45

Calls 4

write_nodeMethod · 0.80
to_ast_string_simpleMethod · 0.80
write_strMethod · 0.45

Tested by

no test coverage detected