UniquePath

case class UniquePath[T](path: List[String]) extends Term[T] with Path

Reifies a traversal from a Cursor to a single, possibly nullable, value.

Typically such a path would use used to identify a field of the object or interface at the focus of the cursor, to be tested via a predicate such as Eql.

trait Path
trait Term[T]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(c: Cursor): Result[T]
def children: List[Term[_]]
def prepend(prefix: List[String]): Path

Inherited methods

def exists(f: Term[_] => Boolean): Boolean
Inherited from
Term
def fold[Acc](acc: Acc)(f: (Acc, Term[_]) => Acc): Acc
Inherited from
Term
def forall(f: Term[_] => Boolean): Boolean
Inherited from
Term
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product