node_modules.apollo-codegen-scala.lib.values.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apollo-client-maven-plugin Show documentation
Show all versions of apollo-client-maven-plugin Show documentation
Maven plugin for generating graphql clients
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function escapedString(string) {
return string.replace(/"/g, '\\"');
}
exports.escapedString = escapedString;
function multilineString(generator, string) {
const lines = string.split('\n');
lines.forEach((line, index) => {
const isLastLine = index != lines.length - 1;
generator.printOnNewline(`"${escapedString(line)}"` + (isLastLine ? ' +' : ''));
});
}
exports.multilineString = multilineString;
//# sourceMappingURL=values.js.map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy