equal
deleted
inserted
replaced
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 = |