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

Method parseClassSchema

valdi_core/src/valdi_core/cpp/Schema/ValueSchemaParser.cpp:488–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488std::optional<ValueSchema> ValueSchemaParser::parseClassSchema(TextParser& parser, bool includeProperties) {
489 if (!parser.tryParse(kStringTypeClass[0])) {
490 return std::nullopt;
491 }
492
493 return doParseClassSchema(parser, true);
494}
495
496} // namespace Valdi

Callers

nothing calls this directly

Calls 2

doParseClassSchemaFunction · 0.85
tryParseMethod · 0.45

Tested by

no test coverage detected