ValExtractor

sbt.internal.Eval.ValExtractor
class ValExtractor(tpes: Set[String]) extends TreeTraverser

Tree traverser that obtains the names of vals in a top-level module whose type is a subtype of one of types.

Attributes

Graph
Supertypes
class TreeTraverser
class TreeAccumulator[Unit]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def getVals(t: Tree)(using ctx: Context): List[String]
def isAcceptableType(tpe: Type)(using ctx: Context): Boolean
def isTopLevelModule(sym: Symbol)(using ctx: Context): Boolean
override def traverse(tree: Tree)(using ctx: Context): Unit

Attributes

Definition Classes
TreeTraverser

Inherited methods

def apply(x: Unit, tree: Tree)(using Context): Unit

Attributes

Inherited from:
TreeTraverser
def apply(x: Unit, trees: List[Tree])(using Context): X

Attributes

Inherited from:
TreeAccumulator
def foldMoreCases(x: Unit, tree: Tree)(using Context): X

Attributes

Inherited from:
TreeAccumulator
def foldOver(x: Unit, tree: Tree)(using Context): X

Attributes

Inherited from:
TreeAccumulator
def traverse(trees: List[Tree])(using Context): Unit

Attributes

Inherited from:
TreeTraverser
protected def traverseChildren(tree: Tree)(using Context): Unit

Attributes

Inherited from:
TreeTraverser