Lines Matching defs:shouldEmitSpace
381 bool &shouldEmitSpace, bool &lastWasPunctuation);
2118 /// Generate the printer for a literal value. `shouldEmitSpace` is true if a
2122 bool &shouldEmitSpace, bool &lastWasPunctuation) {
2126 if (shouldEmitSpace && shouldEmitSpaceBefore(value, lastWasPunctuation))
2131 shouldEmitSpace =
2136 /// Generate the printer for a space. `shouldEmitSpace` and `lastWasPunctuation`
2138 static void genSpacePrinter(bool value, MethodBody &body, bool &shouldEmitSpace,
2146 shouldEmitSpace = false;
2389 bool &shouldEmitSpace,
2392 return genLiteralPrinter(literal->getSpelling(), body, shouldEmitSpace,
2400 genSpacePrinter(!space->getValue().empty(), body, shouldEmitSpace,
2431 genElementPrinter(childElement, body, op, shouldEmitSpace,
2496 genLiteralPrinter(lelement->getSpelling(), body, shouldEmitSpace,
2500 genElementPrinter(element, body, op, shouldEmitSpace,
2524 if (shouldEmitSpace || !lastWasPunctuation)
2527 shouldEmitSpace = true;
2659 bool shouldEmitSpace = true, lastWasPunctuation = false;
2661 genElementPrinter(element, body, op, shouldEmitSpace, lastWasPunctuation);