ShapePath

object ShapePath
Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Types

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def eval(p: ShapePath, s: Schema, maybeValue: Option[Value]): (List[ProcessingError], Value)

Evaluate a shapePath

Evaluate a shapePath

Value parameters:
maybeValue

initial value. If not provided it is initialized to the list of shapes in s

p

shape path

s

schema

Returns:

A pair containing a list of processing errors (empty if no error) and a result value

def fromString(str: String, format: String, base: Option[IRI], prefixMap: PrefixMap): Either[String, ShapePath]

Parse a shapePath from a string

Parse a shapePath from a string

Returns:

either an error string or a ShapePath

def okr[A](x: A): CompReplace[A]
def replace(p: ShapePath, s: Schema, maybeValue: Option[Value], newShapeNode: ShapeNode): Ior[List[ProcessingError], Schema]
def rerr[A](msg: String): CompReplace[A]
def rwarn[A](msg: String, x: A): CompReplace[A]

Concrete fields