equal
deleted
inserted
replaced
145 override def toString: String = { |
145 override def toString: String = { |
146 val a = kind.nonEmpty |
146 val a = kind.nonEmpty |
147 val b = name.nonEmpty |
147 val b = name.nonEmpty |
148 style.make_text(prefix) + |
148 style.make_text(prefix) + |
149 if_proper(a || b, |
149 if_proper(a || b, |
150 if_proper(prefix, ": ") + if_proper(kind, style.make_bold(kind)) + |
150 if_proper(prefix, ": ") + if_proper(kind, style.make_text(kind)) + |
151 if_proper(a && b, " ") + if_proper(b, style.make_text(quote(name)))) |
151 if_proper(a && b, " ") + if_proper(b, style.make_text(quote(name)))) |
152 } |
152 } |
153 } |
153 } |
154 |
154 |
155 |
155 |