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

Method write_node

src/sql-parser/src/ast/display.rs:98–100  ·  view source on GitHub ↗
(&mut self, s: &T)

Source from the content-addressed store, hash-verified

96 W: fmt::Write,
97{
98 pub fn write_node<T: AstDisplay>(&mut self, s: &T) {
99 s.fmt(self);
100 }
101
102 // TODO(justin): make this only accept a &str so that we don't accidentally pass an AstDisplay
103 // to it.

Callers 15

fmtMethod · 0.80
fmtMethod · 0.80
fmtMethod · 0.80
fmtMethod · 0.80
fmtMethod · 0.80
fmtMethod · 0.80
fmtMethod · 0.80
fmtMethod · 0.80
write_dot_receiverFunction · 0.80
write_quantified_leftFunction · 0.80
write_between_boundFunction · 0.80

Calls 1

fmtMethod · 0.45

Tested by

no test coverage detected