TreeProvider

dotty.tools.dotc.ast.tpd$.TreeProvider

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

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?

Attributes

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.

Attributes

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

Attributes