src/Pure/System/isabelle_process.scala
changeset 46121 30a69cd8a9a0
parent 45709 87017fcbad83
child 46548 c54a4a22501c
equal deleted inserted replaced
46120:f7ee2e5a83dd 46121:30a69cd8a9a0
    56     def is_stderr = kind == Isabelle_Markup.STDERR
    56     def is_stderr = kind == Isabelle_Markup.STDERR
    57     def is_system = kind == Isabelle_Markup.SYSTEM
    57     def is_system = kind == Isabelle_Markup.SYSTEM
    58     def is_status = kind == Isabelle_Markup.STATUS
    58     def is_status = kind == Isabelle_Markup.STATUS
    59     def is_report = kind == Isabelle_Markup.REPORT
    59     def is_report = kind == Isabelle_Markup.REPORT
    60     def is_raw = kind == Isabelle_Markup.RAW
    60     def is_raw = kind == Isabelle_Markup.RAW
    61     def is_ready = Protocol.is_ready(message)
    61     def is_syslog = is_init || is_exit || is_system || is_stderr
    62     def is_syslog = is_init || is_exit || is_system || is_ready || is_stderr
       
    63 
    62 
    64     override def toString: String =
    63     override def toString: String =
    65     {
    64     {
    66       val res =
    65       val res =
    67         if (is_status || is_report) message.body.map(_.toString).mkString
    66         if (is_status || is_report) message.body.map(_.toString).mkString