PropertiesTrait

dotty.tools.dotc.config.PropertiesTrait

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

protected def pickJarBasedOn: Class[_]
protected def propCategory: String

Concrete methods

def clearProp(name: String): String

This is the default text encoding, overridden (unreliably) with JAVA_OPTS="-Dfile.encoding=Foo"

This is the default text encoding, overridden (unreliably) with JAVA_OPTS="-Dfile.encoding=Foo"

Attributes

def envOrElse(name: String, alt: String): String
def envOrNone(name: String): Option[String]
def isMac: Boolean
def isWin: Boolean

Some derived values.

Some derived values.

Attributes

Various well-known properties.

Various well-known properties.

Attributes

The default end of line character.

The default end of line character.

Attributes

def osName: String
def propIsSet(name: String): Boolean
def propIsSetTo(name: String, value: String): Boolean
def propOrElse(name: String, alt: String): String
def propOrEmpty(name: String): String
def propOrFalse(name: String): Boolean
def propOrNull(name: String): String
def scalaPropOrElse(name: String, alt: String): String
def setProp(name: String, value: String): String

This is the encoding to use reading in source files, overridden with -encoding Note that it uses "prop" i.e. looks in the scala jar, not the system properties.

This is the encoding to use reading in source files, overridden with -encoding Note that it uses "prop" i.e. looks in the scala jar, not the system properties.

Attributes

def tmpDir: String

Either the development or release version if known, otherwise the empty string.

Either the development or release version if known, otherwise the empty string.

Attributes

Concrete fields

Whether the current version of compiler is experimental

Whether the current version of compiler is experimental

  1. Snapshot, nightly releases and non-bootstrapped compiler are experimental.
  2. Features supported by experimental versions of the compiler:
    • research plugins

Attributes

protected val propFilename: String

The name of the properties file

The name of the properties file

Attributes

lazy protected val scalaProps: Properties

The loaded properties

The loaded properties

Attributes

The version number of the jar this was loaded from, or "(unknown)" if it cannot be determined.

The version number of the jar this was loaded from, or "(unknown)" if it cannot be determined.

Attributes

The version number of the jar this was loaded from plus "version " prefix, or "version (unknown)" if it cannot be determined.

The version number of the jar this was loaded from plus "version " prefix, or "version (unknown)" if it cannot be determined.

Attributes