TreeProvider

A trait for loaders that compute trees. Currently implemented just by DottyUnpickler.

class Object
trait Matchable
class Any

Value members

Abstract methods

protected def computeRootTrees(using Context): List[Tree]

Concrete methods

Is it possible that the tree to load contains a definition of or reference to id?

Is it possible that the tree to load contains a definition of or reference to id?

def rootTrees(using Context): List[Tree]

Get trees defined by this provider. Cache them if -Yretain-trees is set.

Get trees defined by this provider. Cache them if -Yretain-trees is set.

def tree(using Context): Tree

Get first tree defined by this provider, or EmptyTree if none exists

Get first tree defined by this provider, or EmptyTree if none exists