A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/quoted/Quotes$reflectModule$TreeAccumulator.html below:

TreeAccumulator

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
Source
Quotes.scala
Graph
Supertypes

class

Object

trait

Matchable

class

Any
Known subtypes

trait

TreeTraverser
Members list

Value members

Abstract methods

def foldTree

(

x

:

X

,

tree

:

Tree

)(

owner

:

Symbol

):

X Attributes
Source
Quotes.scala

Concrete methods

def foldOverTree

(

x

:

X

,

tree

:

Tree

)(

owner

:

Symbol

):

X Attributes
Source
Quotes.scala
def foldTrees

(

x

:

X

,

trees

:

Iterable

[

Tree

])(

owner

:

Symbol

):

X Attributes
Source
Quotes.scala

RetroSearch 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