MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / ParseNamespacing

Method ParseNamespacing

native/thirdpart/flatbuffers/idl_parser.cpp:592–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592CheckedError Parser::ParseNamespacing(std::string *id, std::string *last) {
593 while (Is('.')) {
594 NEXT();
595 *id += ".";
596 *id += attribute_;
597 if (last) *last = attribute_;
598 EXPECT(kTokenIdentifier);
599 }
600 return NoError();
601}
602
603EnumDef *Parser::LookupEnum(const std::string &id) {
604 // Search thru parent namespaces.

Callers

nothing calls this directly

Calls 1

NoErrorFunction · 0.85

Tested by

no test coverage detected