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

Function parseStructFieldName

src/function/cast_from_string_functions.cpp:553–561  ·  view source on GitHub ↗

---------------------- cast String to Struct ------------------------------ //

Source from the content-addressed store, hash-verified

551
552// ---------------------- cast String to Struct ------------------------------ //
553static bool parseStructFieldName(const char*& input, const char* end) {
554 while (input < end) {
555 if (*input == ':') {
556 return true;
557 }
558 input++;
559 }
560 return false;
561}
562
563static bool parseStructFieldValue(const char*& input, const char* end, const CSVOption* option,
564 bool& closeBrack) {

Callers 1

tryCastStringToStructFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected