src/Pure/System/progress.scala
changeset 69818 60d0ee8f2ddb
parent 69817 5f160df596c1
child 71100 f31903cc57b0
equal deleted inserted replaced
69817:5f160df596c1 69818:60d0ee8f2ddb
    26 class Progress
    26 class Progress
    27 {
    27 {
    28   def echo(msg: String) {}
    28   def echo(msg: String) {}
    29   def echo_if(cond: Boolean, msg: String) { if (cond) echo(msg) }
    29   def echo_if(cond: Boolean, msg: String) { if (cond) echo(msg) }
    30   def theory(theory: Progress.Theory) {}
    30   def theory(theory: Progress.Theory) {}
    31   def nodes_status(snapshot: Document.Snapshot, nodes_status: Document_Status.Nodes_Status) {}
    31   def nodes_status(nodes_status: Document_Status.Nodes_Status) {}
    32 
    32 
    33   def echo_warning(msg: String) { echo(Output.warning_text(msg)) }
    33   def echo_warning(msg: String) { echo(Output.warning_text(msg)) }
    34   def echo_error_message(msg: String) { echo(Output.error_message_text(msg)) }
    34   def echo_error_message(msg: String) { echo(Output.error_message_text(msg)) }
    35 
    35 
    36   def timeit[A](message: String = "", enabled: Boolean = true)(e: => A): A =
    36   def timeit[A](message: String = "", enabled: Boolean = true)(e: => A): A =