Match

io.eleven19.krueger.trees.query.Match
final case class Match[T](root: T, captures: Map[CaptureName, T])

One successful match: the node that matched the root pattern plus every capture binding collected along the way.

Value parameters

captures

All @name bindings collected during structural matching, keyed by CaptureName.

root

The node that matched the outermost pattern.

Attributes

Source
Query.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala