Dependencies

dotty.tools.dotc.transform.Dependencies
See theDependencies companion object
abstract class Dependencies(root: Tree, rootContext: Context)

Exposes the dependencies of the root tree in three functions or maps: freeVars, tracked, and logicalOwner.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def freeVars(sym: Symbol): Set[Symbol]

The set of free variables of a function, including free variables of its callees

The set of free variables of a function, including free variables of its callees

Attributes

The outermost class that captures all free variables of a function that are captured by enclosinh classes (this means that the function could be placed in that class without having to add more environment parameters)

The outermost class that captures all free variables of a function that are captured by enclosinh classes (this means that the function could be placed in that class without having to add more environment parameters)

Attributes

The set of functions that have free variables, i.e for which freeVars is non-empty

The set of functions that have free variables, i.e for which freeVars is non-empty

Attributes