CompileResult

mdoc.document.CompileResult
See theCompileResult companion trait
object CompileResult

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

sealed trait CompileError extends CompileResult

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ParseError
class TypeError
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 parameters

message

the syntax error message (without position formatting)

pos

the range position inside the code fence

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CompileError
class Object
trait Matchable
class Any
Show all
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 parameters

message

the typechecking error message (without position formatting)

pos

the range position inside the code fence

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CompileError
class Object
trait Matchable
class Any
Show all
final case class TypecheckedOK(code: String, tpe: String, pos: RangePosition) extends CompileResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror