TreeAccumulator

Customizable Tree accumulator.

Usage:

import quotes.reflect._
class MyTreeAccumulator 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