(payload: CompilerPayload)
| 172 | } |
| 173 | |
| 174 | export 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 | |
| 182 | export function composeMutations(...mutations: CodeMutation[]) { |
| 183 | return (input: CompilerPayload) => { |
no outgoing calls