Compiled

sealed interface Compiled

A compiled snippet, or why it did not compile. Ok.resultField comes from the lowering's scriptResultFieldDataAttr; Ok.resultType is what resultTypeName renders off the frontend cone. Both are null when the snippet ended on a statement rather than a value.

Inheritors

Types

Link copied to clipboard
class Failed(val reports: List<ScriptDiagnostic>) : PlainEngine.Compiled
Link copied to clipboard
class Ok(val classes: Map<String, ByteArray>, val mainClass: String, val resultField: String?, val resultType: String?, val resultValueClass: String?) : PlainEngine.Compiled