* Append a string sequence to the current formatted line. * The formattedLine split points are NOT updated. * But the formattedLine is checked for time to split. * * @param sequence the sequence to append. * @param canBreakLine if true, a registered line-break */
| 2328 | * @param canBreakLine if true, a registered line-break |
| 2329 | */ |
| 2330 | void ASFormatter::appendSequence(const string &sequence, bool canBreakLine) |
| 2331 | { |
| 2332 | if (canBreakLine && isInLineBreak) |
| 2333 | breakLine(); |
| 2334 | formattedLine.append(sequence); |
| 2335 | if (formattedLine.length() > maxCodeLength) |
| 2336 | testForTimeToSplitFormattedLine(); |
| 2337 | } |
| 2338 | |
| 2339 | /** |
| 2340 | * Append an operator sequence to the current formatted line. |
nothing calls this directly
no outgoing calls
no test coverage detected