| 79 | } |
| 80 | |
| 81 | void Open(const char *label) |
| 82 | { |
| 83 | size_t labellen = label != NULL ? strlen(label) : 0; |
| 84 | CheckWrap(labellen + 1 + NeedSpace); |
| 85 | if (NeedSpace) |
| 86 | { |
| 87 | Str << ' '; |
| 88 | ConsecOpens = 0; |
| 89 | } |
| 90 | Str << '('; |
| 91 | ConsecOpens++; |
| 92 | if (label != NULL) |
| 93 | { |
| 94 | Str.AppendCStrPart(label, labellen); |
| 95 | } |
| 96 | Column += labellen + 1 + NeedSpace; |
| 97 | NestDepth++; |
| 98 | NeedSpace = (label != NULL); |
| 99 | } |
| 100 | void Close() |
| 101 | { |
| 102 | assert(NestDepth != 0); |
no outgoing calls
no test coverage detected