more operations;
authorwenzelm
Sun, 03 Nov 2019 18:53:48 +0100
changeset 71014 58022ee70b35
parent 71013 bfa1017b4553
child 71015 bb49abc2ecbb
more operations;
src/Pure/Thy/export.scala
--- a/src/Pure/Thy/export.scala	Sun Nov 03 16:20:05 2019 +0100
+++ b/src/Pure/Thy/export.scala	Sun Nov 03 18:53:48 2019 +0100
@@ -221,6 +221,14 @@
 
   object Provider
   {
+    def none: Provider =
+      new Provider {
+        def apply(export_name: String): Option[Entry] = None
+        def focus(other_theory: String): Provider = this
+
+        override def toString: String = "none"
+      }
+
     def database(db: SQL.Database, session_name: String, theory_name: String): Provider =
       new Provider {
         def apply(export_name: String): Option[Entry] =