()
| 393 | } |
| 394 | |
| 395 | func (s *SpanExpression) String() string { |
| 396 | tp := treeprinter.New() |
| 397 | n := tp.Child("span expression") |
| 398 | s.Format(n, true /* includeSpansToRead */, false /* redactable */) |
| 399 | return tp.String() |
| 400 | } |
| 401 | |
| 402 | // Format pretty-prints the SpanExpression. |
| 403 | func (s *SpanExpression) Format(tp treeprinter.Node, includeSpansToRead, redactable bool) { |