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

Function write_ty

prqlc/prqlc/src/codegen/types.rs:7–9  ·  view source on GitHub ↗
(ty: &pr::Ty)

Source from the content-addressed store, hash-verified

5use super::{WriteOpt, WriteSource};
6
7pub(crate) fn write_ty(ty: &pr::Ty) -> String {
8 ty.write(WriteOpt::new_width(u16::MAX)).unwrap()
9}
10
11pub(crate) fn write_ty_kind(ty: &pr::TyKind) -> String {
12 ty.write(WriteOpt::new_width(u16::MAX)).unwrap()

Callers 3

fmtMethod · 0.85
write_json_ast_nodeFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected