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

Method parseInt

valdi_core/src/valdi_core/cpp/Utils/TextParser.cpp:168–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168std::optional<int> TextParser::parseInt() {
169 int i;
170
171 if (!parseInt(i)) {
172 return std::nullopt;
173 }
174
175 return i;
176}
177
178std::optional<uint32_t> TextParser::parseUInt() {
179 uint32_t i;

Callers 15

parseTypeReferenceFunction · 0.45
parseEnumSchemaFunction · 0.45
TESTFunction · 0.45
convertTypeReferencesFunction · 0.45
parseMethod · 0.45
stringToUUIDFunction · 0.45
parseRuntimeIssueFunction · 0.45
parseJSCoreStackFrameFunction · 0.45
parseQuickJSStackFrameFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36