Path

io.hireproof.structure.Path
See thePath companion object
sealed abstract class Path[A] extends Product[A]

Attributes

Companion:
object
Graph
Supertypes
trait Product[A]
trait Structure[A]
class Object
trait Matchable
class Any
Self type
Path[A]

Members list

Concise view

Type members

Types

final override type Element[a] = Parameter[a]
final override type Group[a] = Path[a]
final override type Self[a] = Path[a]

Value members

Abstract methods

def fromStringChainWithRemainder(path: Chain[String]): Validated[Errors, (Chain[String], A)]
def toChain: Chain[Either[String, Parameter[_]]]
def toStringChain(a: A): Chain[String]

Concrete methods

final def /[T](parameter: Parameter[T])(implicit evidence: Merger[(A, T)]): Path[Out]
final def /(name: String): Path[A]
final def fromStringChain(path: Chain[String]): Validated[Errors, A]
final def matches(path: Chain[String]): Boolean
final def toString(a: A): String
override def zip[T](parameter: Parameter[T]): Path[(A, T)]

Attributes

Definition Classes
final override def zipAll[T](path: Path[T]): Path[(A, T)]

Attributes

Definition Classes
final def zipParameter[T](parameter: Parameter[T]): Path[(A, T)]
final def zipSegment(name: String): Path[A]

Inherited methods

final def const(value: => A): Self[Unit]

Attributes

Inherited from:
Structure
final def imap[T](f: A => T)(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def ivalidate[T](validation: Validation[A, T])(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def merge[T](implicit evidence: Aux[A, T]): Self[T]

Attributes

Inherited from:
Structure
final def validate(validation: Validation[A, A]): Self[A]

Attributes

Inherited from:
Structure
final def ximap[T](implicit evidence: Aux[T, A]): Self[T]

Attributes

Inherited from:
Product
final def |*|[T](element: Parameter[T])(implicit evidence: Merger[(A, T)]): Group[Out]

Attributes

Inherited from:
Product