Dependencies

abstract class Dependencies(root: Tree, @constructorOnly rootContext: Context)

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

Companion
object
class Object
trait Matchable
class Any

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

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)

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