author | wenzelm |
Thu, 31 Dec 2009 00:35:54 +0100 | |
changeset 34215 | f0322b595146 |
parent 34214 | 99eefb83a35d |
child 34216 | ada8eb23a08e |
--- a/src/Pure/System/isabelle_process.scala Wed Dec 30 22:56:46 2009 +0100 +++ b/src/Pure/System/isabelle_process.scala Thu Dec 31 00:35:54 2009 +0100 @@ -101,6 +101,8 @@ def is_control = Kind.is_control(kind) def is_system = Kind.is_system(kind) + def is_ready = kind == Kind.STATUS && body == List(XML.Elem(Markup.READY, Nil, Nil)) + def cache(c: XML.Cache): Result = new Result(kind, c.cache_props(props), c.cache_trees(body)) }