Scope

dotty.tools.dotc.transform.init.Objects.Scope
sealed abstract class Scope(using trace: Trace)

Represents the possible values of the current enclosing scope when evaluating an expression

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class EnvRef
class Objects.this.Ref
class Objects.this.ArrayRef
class Objects.this.InstanceRef
class Objects.this.ObjectRef

Members list

Value members

Abstract methods

def show(using Context): String

Concrete methods

def asEnv: EnvRef
def asRef: Objects.this.Ref
def isEnv: Boolean
def isRef: Boolean