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

Function flush

packages/ast/parse/parse.js:44–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 let buffer = '';
43
44 function flush() {
45 if (buffer) {
46 children.push({
47 type: 'text',
48 value: buffer,
49 source: buffer,
50 });
51 buffer = '';
52 }
53 }
54
55 while (index < length) {
56 const result = match(input, index, matchers);

Callers 1

parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected