MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / skipToCloseQuotes

Function skipToCloseQuotes

src/function/cast_from_string_functions.cpp:210–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210static bool skipToCloseQuotes(const char*& input, const char* end) {
211 auto ch = *input;
212 input++; // skip the first " '
213 // TODO: escape char
214 while (input != end) {
215 if (*input == ch) {
216 return true;
217 }
218 input++;
219 }
220 return false;
221}
222
223static bool skipToClose(const char*& input, const char* end, uint64_t& lvl, char target,
224 const CSVOption* option) {

Callers 4

skipToCloseFunction · 0.85
splitCStringListFunction · 0.85
parseKeyOrValueFunction · 0.85
parseStructFieldValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected