TreeAccumulator

Customizable Tree accumulator.

Usage:

def inQuotes(using q: Quotes) = {
  import q.reflect._
  class MyTreeAccumulator[X] extends TreeAccumulator[X] {
    def foldTree(x: X, tree: Tree)(owner: Symbol): X = ???
  }
}
Source:
Quotes.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def foldTree(x: X, tree: Tree)(owner: Symbol): X

Concrete methods

def foldOverTree(x: X, tree: Tree)(owner: Symbol): X
def foldTrees(x: X, trees: Iterable[Tree])(owner: Symbol): X