Packages

o

es.weso.shex

Dependencies

object Dependencies

Source
Dependencies.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dependencies
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Dep = (ShapeLabel, PosNeg, ShapeLabel)
  2. type Deps = List[Dep]
  3. type ES[A] = Either[String, A]

Value Members

  1. def addDependencies(graph: DepGraph[ShapeLabel], deps: Deps): DepGraph[ShapeLabel]
  2. def addDependency(schema: Schema)(se: ShapeExpr, graph: ES[DepGraph[ShapeLabel]]): Either[String, DepGraph[ShapeLabel]]
  3. def combine(d: Dep, g: DepGraph[ShapeLabel]): DepGraph[ShapeLabel]
  4. def depGraph(schema: Schema): ES[DepGraph[ShapeLabel]]

    Returns the dependency graph of a schema

    Returns the dependency graph of a schema

    schema

    the ShEx schema

    returns

    either a string signalling an error or the dependency graph

  5. def dependencies(schema: Schema, shape: ShapeExpr, source: ShapeLabel, posNeg: PosNeg): ES[Deps]
  6. def dependenciesExtra(e: IRI, schema: Schema, source: ShapeLabel, tripleExpr: TripleExpr, posNeg: PosNeg): ES[Deps]
  7. def dependenciesExtras(es: List[IRI], schema: Schema, source: ShapeLabel, tripleExpr: TripleExpr, posNeg: PosNeg): ES[Deps]
  8. def dependenciesTripleExpr(schema: Schema, source: ShapeLabel, tripleExpr: TripleExpr, posNeg: PosNeg): ES[Deps]
  9. def getLabel(se: ShapeExpr): ES[ShapeLabel]
  10. def negCycles(schema: Schema): ES[Set[Set[(ShapeLabel, ShapeLabel)]]]

    Returns the set of cycles that have a negative dependency in a schema

    Returns the set of cycles that have a negative dependency in a schema

    schema

    the ShEx schema

    returns

    either a string signaling an error or the set of negated cycles. If the set is empy, there are no negated cycles.

  11. def oddNegCycles(schema: Schema): ES[Set[Set[(ShapeLabel, ShapeLabel)]]]