SafeValue

dotty.tools.dotc.transform.init.Objects.SafeValue
See theSafeValue companion object
case class SafeValue(typeSymbol: Symbol) extends ValueElement

Represents common base values like Int, String, etc. Assumption: all field initializers and methods calls on such values should not trigger initialization of global objects or read/write mutable fields

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Objects.this.ValueElement
trait Objects.this.Value
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def show(using Context): String

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product