Package-level declarations
Types
Link copied to clipboard
Describes the concept of a "precompiler," which is used by Elide to transform input code material (either source code or bytecode) into a form that is supported by the runtime or more efficiently consumed by the runtime.
Link copied to clipboard
Exception which is thrown when a precompiler suffers a critical error.
Link copied to clipboard
Thrown when a Precompiler encounters an error; this includes cases where diagnostics are present which may indicate compiler errors or warnings despite the precompiler producing output.
Link copied to clipboard
open class PrecompilerNotice(val diagnostics: DiagnosticsSuite, val severity: Severity, message: String? = null, cause: Throwable? = null, val fatal: Boolean = false) : PrecompilerException
Exception which is thrown when a precompiler yields diagnostics; may be non-fatal.
Link copied to clipboard
class PrecompilerNoticeWithOutput(val diagnostics: DiagnosticsSuite, val output: Any, val severity: Severity, message: String? = null, cause: Throwable? = null, val fatal: Boolean = false) : PrecompilerNotice
Exception which is thrown when a precompiler yields diagnostics and produces output.
Functions
Link copied to clipboard
inline suspend fun <C : Precompiler.Configuration, I, O> Precompiler<C, I, O>.precompileSafe(req: Precompiler.PrecompileSourceRequest<C>, code: I): Pair<DiagnosticsSuite, O?>
Precompile using the provided inputs,