equal
deleted
inserted
replaced
397 lazy val theory_graph: Graph[Document.Node.Name, Unit] = |
397 lazy val theory_graph: Graph[Document.Node.Name, Unit] = |
398 { |
398 { |
399 val entries = |
399 val entries = |
400 for ((name, theory) <- theories.toList) |
400 for ((name, theory) <- theories.toList) |
401 yield ((name, ()), theory.node_header.imports.map(_._1).filter(theories.isDefinedAt(_))) |
401 yield ((name, ()), theory.node_header.imports.map(_._1).filter(theories.isDefinedAt(_))) |
402 Graph.make(entries, symmetric = true)(Document.Node.Name.Ordering) |
402 Graph.make(entries, symmetric = true)(Document.Node.Name.Theory_Ordering) |
403 } |
403 } |
404 |
404 |
405 def is_required(name: Document.Node.Name): Boolean = required.isDefinedAt(name) |
405 def is_required(name: Document.Node.Name): Boolean = required.isDefinedAt(name) |
406 |
406 |
407 def insert_required(id: UUID.T, names: List[Document.Node.Name]): State = |
407 def insert_required(id: UUID.T, names: List[Document.Node.Name]): State = |