MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / tagged

Method tagged

cranelift/isle/isle/src/printer.rs:56–60  ·  view source on GitHub ↗
(tag: &str, items: &[impl ToSExpr])

Source from the content-addressed store, hash-verified

54 }
55
56 fn tagged(tag: &str, items: &[impl ToSExpr]) -> Self {
57 let mut parts = vec![SExpr::atom(tag)];
58 parts.extend(items.iter().map(ToSExpr::to_sexpr));
59 SExpr::List(parts)
60 }
61}
62
63struct Printer<'a, W: Write> {

Callers

nothing calls this directly

Calls 4

ListClass · 0.50
extendMethod · 0.45
mapMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected