precompile

open suspend fun precompile(req: Precompiler.PrecompileSourceRequest<C>, input: I): O?

Precompile the input using this precompiler.

This method is called by the runtime to precompile the input before it is executed.

Return

Output produced by this precompiler.

Parameters

req

Information about the source code being precompiled.

input

Input to be transformed by this precompiler.

Throws

for non-fatal and fatal precompiler errors, warnings, or other diagnostics.