Objekt

dotty.tools.dotc.transform.init.Semantic.Objekt
case class Objekt(klass: ClassSymbol, fields: Map[Symbol, Value], outers: Map[ClassSymbol, Value])

The abstract object which stores value about its fields and immediate outers.

Semantically it suffices to store the outer for klass. We cache other outers for performance reasons.

Note: Object is NOT a value.

Attributes

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

Members list

Value members

Concrete methods

def field(f: Symbol): Value
def outer(klass: ClassSymbol): Value

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product