LocalEnv

dotty.tools.dotc.transform.init.Objects.Env.LocalEnv
case class LocalEnv(meth: Symbol, owner: ClassSymbol)(using x$3: Trace) extends Scope

Local environments can be deeply nested, therefore we need outer.

For local variables in rhs of class field definitions, the meth is the primary constructor.

Attributes

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

Members list

Value members

Concrete methods

def outer(using MutableData): ScopeSet
def show(using Context): String

Inherited methods

Attributes

Inherited from:
Scope
def asRef: Ref

Attributes

Inherited from:
Scope

Attributes

Inherited from:
Scope
def hasVal(sym: Symbol)(using MutableData): Boolean

Attributes

Inherited from:
Scope
def hasVar(sym: Symbol)(using MutableData): Boolean

Attributes

Inherited from:
Scope
def initOuter(sym: Symbol, outerScope: ScopeSet)(using Context, MutableData): Unit

Attributes

Inherited from:
Scope
def initVal(field: Symbol, value: Value)(using Context, MutableData): Unit

Attributes

Inherited from:
Scope
def initVar(field: Symbol, value: Value)(using Context, MutableData): Unit

Attributes

Inherited from:
Scope
def isEnv: Boolean

Attributes

Inherited from:
Scope

Attributes

Inherited from:
Scope
def isRef: Boolean

Attributes

Inherited from:
Scope

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def valValue(sym: Symbol)(using MutableData): Value

Attributes

Inherited from:
Scope
def varValue(sym: Symbol)(using MutableData): Value

Attributes

Inherited from:
Scope