PredicateArgs

io.eleven19.krueger.trees.query.PredicateArgs
See thePredicateArgs companion trait
object PredicateArgs

Attributes

Companion
trait
Source
Matcher.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Custom(name: PredicateName, args: List[PredicateArg]) extends PredicateArgs

Arguments for a user-defined predicate: the predicate name and its raw argument list.

Arguments for a user-defined predicate: the predicate name and its raw argument list.

This variant is not produced by the built-in query syntax; it is intended for extension predicates registered via PredicateRegistry.withPredicate that parse their own argument conventions.

Attributes

Source
Matcher.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Eq(left: PredicateArg, right: PredicateArg) extends PredicateArgs

Arguments for #eq?: compare the text of left and right.

Arguments for #eq?: compare the text of left and right.

Attributes

Source
Matcher.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Match(arg: PredicateArg, regex: RegexPattern) extends PredicateArgs

Arguments for #match?: test whether the text of arg matches regex.

Arguments for #match?: test whether the text of arg matches regex.

Attributes

Source
Matcher.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NotEq(left: PredicateArg, right: PredicateArg) extends PredicateArgs

Arguments for #not-eq?: require the text of left and right to differ.

Arguments for #not-eq?: require the text of left and right to differ.

Attributes

Source
Matcher.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NotMatch(arg: PredicateArg, regex: RegexPattern) extends PredicateArgs

Arguments for #not-match?: require the text of arg not to match regex.

Arguments for #not-match?: require the text of arg not to match regex.

Attributes

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

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Givens

Givens

Attributes

Source
Matcher.scala