MCPcopy Create free account
hub / github.com/dirkvranckaert/AndroidDecompiler / appendSequence

Method appendSequence

astyle/src/ASFormatter.cpp:2330–2337  ·  view source on GitHub ↗

* 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 */

Source from the content-addressed store, hash-verified

2328 * @param canBreakLine if true, a registered line-break
2329 */
2330void 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected