dotty.tools

package dotty.tools

Type members

Classlikes

case class CompileSettings(verbose: Boolean, classPath: List[String], compileMode: CompileMode, exitCode: Int, javaArgs: List[String], javaProps: List[(String, String)], scalaArgs: List[String], residualArgs: List[String], scriptArgs: List[String], targetScript: String, compiler: Boolean, quiet: Boolean, colors: Boolean)
case class FatalError(msg: String) extends Exception
case class Settings(verbose: Boolean, classPath: List[String], executeMode: ExecuteMode, exitCode: Int, javaArgs: List[String], scalaArgs: List[String], residualArgs: List[String], possibleEntryPaths: List[String], scriptArgs: List[String], targetScript: String, targetExpression: String, targetToRun: String, save: Boolean, modeShouldBePossibleRun: Boolean, modeShouldBeRun: Boolean, compiler: Boolean)

Types

Value members

Concrete methods

def WrappedResult[T](x: T): WrappedResult[T]
def result[T](using x: WrappedResult[T]): T
def unreachable(x: Any): Nothing
def unsupported(methodName: String): Nothing

Throws an UnsupportedOperationException with the given method name.

Throws an UnsupportedOperationException with the given method name.

Concrete fields

Extensions

Extensions

extension [T <: AnyRef](x: T | Null)
inline def eqn(y: T | Null): Boolean

Nullable eq and ne.

Nullable eq and ne.

inline def nen(y: T | Null): Boolean

Nullable eq and ne.

Nullable eq and ne.

extension [T](x: T | Null)
inline def toOption: Option[T]

Forward-ported from the explicit-nulls branch.

Forward-ported from the explicit-nulls branch.

inline def uncheckedNN: T

Should be used when we know from the context that x is not null. Flow-typing under explicit nulls will automatically insert many necessary occurrences of uncheckedNN.

Should be used when we know from the context that x is not null. Flow-typing under explicit nulls will automatically insert many necessary occurrences of uncheckedNN.