PredicateRegistry

io.eleven19.krueger.trees.query.PredicateRegistry
See thePredicateRegistry companion object
final case class PredicateRegistry(predicates: Map[PredicateName, PredicateImpl])

An immutable lookup table mapping PredicateNames to their PredicateImpl implementations.

Obtain the built-in registry via PredicateRegistry.default and extend it with withPredicate.

Attributes

Companion
object
Source
Matcher.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Return a new registry with impl registered (or replaced) under name.

Return a new registry with impl registered (or replaced) under name.

Attributes

Source
Matcher.scala

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