Query

io.eleven19.krueger.trees.query.Query
final case class Query(root: Pattern, predicates: List[Predicate])

Root of the query AST. A parsed query is one pattern plus zero or more predicates that constrain captured nodes.

Attributes

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

Members list

Value members

Concrete methods

Every capture name bound anywhere in the root pattern.

Every capture name bound anywhere in the root pattern.

Useful for validation (e.g. confirming every @foo referenced by a predicate is actually bound by the pattern).

Attributes

Source
Query.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