MCPcopy Create free account
hub / github.com/PRQL/prql / write

Method write

prqlc/prqlc/src/codegen/types.rs:16–22  ·  view source on GitHub ↗
(&self, opt: WriteOpt)

Source from the content-addressed store, hash-verified

14
15impl WriteSource for pr::Ty {
16 fn write(&self, opt: WriteOpt) -> Option<String> {
17 if let Some(name) = &self.name {
18 Some(name.clone())
19 } else {
20 self.kind.write(opt)
21 }
22 }
23}
24
25impl WriteSource for Option<&pr::Ty> {

Callers 2

write_tyFunction · 0.45
write_ty_kindFunction · 0.45

Calls 1

write_betweenMethod · 0.80

Tested by

no test coverage detected