MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / consume

Function consume

src/common/markdown-span.ts:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 };
33
34 const consume = () => {
35 const c = peek();
36 i += 1;
37 return c;
38 };
39
40 const parseCode = () => {
41 // Note: the caller has not consumed the initial backtick

Callers 5

parseBoldFunction · 0.70
parseEmphasisFunction · 0.70
parseItalicFunction · 0.70
parseTagFunction · 0.70
parseSpanFunction · 0.70

Calls 1

peekFunction · 0.70

Tested by

no test coverage detected