P package

scala.tasty.reflect

extends Object

Supertypes

Object

Members

class 

ExprCastError

class 

ExtractorsPrinter

[R]

trait 

Printer

[R]

class 

SourceCodePrinter

[R]

Printer for fully elaborated representation of the source code

Printer for fully elaborated representation of the source code

trait 

TreeAccumulator

[X]

TASTy Reflect tree accumulator.

Usage:

TASTy Reflect tree accumulator.

Usage:

class MyTreeAccumulator[R <: scala.tasty.Reflection & Singleton](val reflect: R)
    extends scala.tasty.reflect.TreeAccumulator[X] {
  import reflect._
  def foldTree(x: X, tree: Tree)(using ctx: Context): X = ...
}
trait 

TreeMap

TASTy Reflect tree map.

Usage:

TASTy Reflect tree map.

Usage:

class MyTreeMap[R <: scala.tasty.Reflection & Singleton](val reflect: R)
    extends scala.tasty.reflect.TreeMap {
  import reflect._
  override def transformTree(tree: Tree)(using ctx: Context): Tree = ...
}
trait 

TreeTraverser

TASTy Reflect tree traverser.

Usage:

TASTy Reflect tree traverser.

Usage:

class MyTraverser[R <: scala.tasty.Reflection & Singleton](val reflect: R)
    extends scala.tasty.reflect.TreeTraverser {
  import reflect._
  override def traverseTree(tree: Tree)(using ctx: Context): Unit = ...
}
type 

TypeTest

 = ClassTag[U]

A type test that can check at runtime if an object of type T is also of type U.

Place holder until we implement a ClassTag like abstraction that is sou... https://github.com/lampepfl/dotty/pull/7555

A type test that can check at runtime if an object of type T is also of type U.

Place holder until we implement a ClassTag like abstraction that is sound for all type tests. See https://github.com/lampepfl/dotty/pull/7555