TreeAccumulator
scala.quoted.Quotes.reflectModule.TreeAccumulator
trait TreeAccumulator[
X]
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 = ???
}
}
Attributes
class
Objecttrait
Matchableclass
Anytrait
TreeTraverser(
x:
X,
tree:
Tree)(
owner:
Symbol):
X Attributes(
x:
X,
tree:
Tree)(
owner:
Symbol):
X Attributes(
x:
X,
trees:
Iterable[
Tree])(
owner:
Symbol):
X AttributesRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4