MCPcopy Create free account
hub / github.com/Snapchat/Valdi / readUntilCharacter

Method readUntilCharacter

valdi_core/src/valdi_core/cpp/Utils/TextParser.cpp:279–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279std::string_view TextParser::readUntilCharacter(char c) {
280 return readWhile([c](char currentC) { return currentC != c; });
281}
282
283std::optional<std::string_view> TextParser::readUntilCharacterAndParse(char c) {
284 auto str = readUntilCharacter(c);

Callers 2

rewriteHeaderFunction · 0.80
convertTypeReferencesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected