Env

dotty.tools.dotc.cc.CheckCaptures.Env
case class Env(owner: Symbol, kind: EnvKind, captured: CaptureSet, outer0: Env | Null, nestedClosure: Symbol)

A class describing environments.

Value parameters

captured

the capture set containing all references to tracked free variables outside of boxes

kind

the environment's kind

nestedClosure

under deferredReaches: If this is an env of a method with an anonymous function or anonymous class as RHS, the symbol of that function or class. NoSymbol in all other cases.

outer0

the next enclosing environment

owner

the current owner

Attributes

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

Members list

Value members

Concrete methods

def outer: Env
def ownerString(using Context): String

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product