CompileResult

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

sealed trait CompileError extends CompileResult
final case class ParseError(message: String, pos: RangePosition) extends CompileError

Compiler reported an error message during parsing.

Compiler reported an error message during parsing.

Value Params
message

the syntax error message (without position formatting)

pos

the range position inside the code fence

final case class TypeError(message: String, pos: RangePosition) extends CompileError

Compiler reported an error message during typechecking.

Compiler reported an error message during typechecking.

Value Params
message

the typechecking error message (without position formatting)

pos

the range position inside the code fence

final case class TypecheckedOK(code: String, tpe: String, pos: RangePosition) extends CompileResult