QuantifierKind

io.eleven19.krueger.trees.query.QuantifierKind

Repetition quantifier for an unfielded child pattern inside a NodePattern.

Written immediately after the child pattern in query syntax: ? for optional, * for zero-or-more, + for one-or-more.

Attributes

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

Members list

Type members

Enum entries

case OneOrMore extends QuantifierKind

The child pattern must match one or more children.

The child pattern must match one or more children.

Attributes

Source
Query.scala
case Optional extends QuantifierKind

The child pattern may match zero or one child.

The child pattern may match zero or one child.

Attributes

Source
Query.scala
case ZeroOrMore extends QuantifierKind

The child pattern may match zero or more children.

The child pattern may match zero or more children.

Attributes

Source
Query.scala