MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / source

Function source

packages/ast/parse/linen/spec-helpers/index.js:1–3  ·  view source on GitHub ↗
(children)

Source from the content-addressed store, hash-verified

1function source(children) {
2 return children.map((child) => child.source).join('');
3}
4
5function root(children) {
6 return { type: 'root', children, source: source(children) };

Callers 7

rootFunction · 0.70
boldFunction · 0.70
italicFunction · 0.70
strikeFunction · 0.70
quoteFunction · 0.70
headerFunction · 0.70
itemFunction · 0.70

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected