MCPcopy
hub / github.com/lingodotdev/lingo.dev / createOutput

Function createOutput

packages/compiler/src/_base.ts:174–180  ·  view source on GitHub ↗
(payload: CompilerPayload)

Source from the content-addressed store, hash-verified

172}
173
174export function createOutput(payload: CompilerPayload): CompilerOutput {
175 const generationResult = generate(payload.ast, {}, payload.code);
176 return {
177 code: generationResult.code,
178 map: generationResult.map,
179 };
180}
181
182export function composeMutations(...mutations: CodeMutation[]) {
183 return (input: CompilerPayload) => {

Callers 11

runFunction · 0.90
runFunction · 0.90
runMutationFunction · 0.90
runMutationFunction · 0.90
runMutationFunction · 0.90
runMutationFunction · 0.90
runMutationFunction · 0.90
runMutationFunction · 0.90
runMutationFunction · 0.90
runMutationFunction · 0.90
index.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by 10

runFunction · 0.72
runFunction · 0.72
runMutationFunction · 0.72
runMutationFunction · 0.72
runMutationFunction · 0.72
runMutationFunction · 0.72
runMutationFunction · 0.72
runMutationFunction · 0.72
runMutationFunction · 0.72
runMutationFunction · 0.72