src/Pure/PIDE/isabelle_markup.scala
changeset 48710 5b51ccdc8623
parent 48709 719f458cd89e
child 48712 6b7a9bcc0bae
equal deleted inserted replaced
48709:719f458cd89e 48710:5b51ccdc8623
   250   val FUNCTION = "function"
   250   val FUNCTION = "function"
   251   val Function = new Properties.String(FUNCTION)
   251   val Function = new Properties.String(FUNCTION)
   252 
   252 
   253   val Ready: Properties.T = List((FUNCTION, "ready"))
   253   val Ready: Properties.T = List((FUNCTION, "ready"))
   254 
   254 
   255   object Loaded_Theory
       
   256   {
       
   257     def unapply(props: Properties.T): Option[String] =
       
   258       props match {
       
   259         case List((FUNCTION, "loaded_theory"), (Markup.NAME, name)) => Some(name)
       
   260         case _ => None
       
   261       }
       
   262   }
       
   263 
       
   264   val Assign_Execs: Properties.T = List((FUNCTION, "assign_execs"))
   255   val Assign_Execs: Properties.T = List((FUNCTION, "assign_execs"))
   265   val Removed_Versions: Properties.T = List((FUNCTION, "removed_versions"))
   256   val Removed_Versions: Properties.T = List((FUNCTION, "removed_versions"))
   266 
   257 
   267   object Invoke_Scala
   258   object Invoke_Scala
   268   {
   259   {