object ShapePath
- Companion
- class
Type members
Types
Value members
Concrete methods
Evaluate a shapePath
Evaluate a shapePath
- Value Params
- 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 replace(p: ShapePath, s: Schema, maybeValue: Option[Value], newShapeNode: ShapeNode): Ior[List[ProcessingError], Schema]