mdoc.document.CompileResult
See theCompileResult companion trait
object CompileResult
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CompileResult.type
Members list
Type members
Classlikes
sealed trait CompileError extends CompileResult
Attributes
- Supertypes
- Known subtypes
-
class ParseErrorclass 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 Serializabletrait Producttrait Equalstrait CompileErrortrait CompileResultclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait CompileErrortrait CompileResultclass Objecttrait Matchableclass AnyShow all
final case class TypecheckedOK(code: String, tpe: String, pos: RangePosition) extends CompileResult
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CompileResultclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
In this article