MCPcopy Create free account
hub / github.com/catboost/catboost / SetRootType

Method SetRootType

contrib/libs/flatbuffers/src/idl_parser.cpp:2893–2899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2891}
2892
2893bool Parser::SetRootType(const char *name) {
2894 root_struct_def_ = LookupStruct(name);
2895 if (!root_struct_def_)
2896 root_struct_def_ =
2897 LookupStruct(current_namespace_->GetFullyQualifiedName(name));
2898 return root_struct_def_ != nullptr;
2899}
2900
2901void Parser::MarkGenerated() {
2902 // This function marks all existing definitions as having already

Callers 1

GenerateCodeMethod · 0.80

Calls 1

GetFullyQualifiedNameMethod · 0.80

Tested by

no test coverage detected