MCPcopy Create free account
hub / github.com/NativeScript/android / ReadTypeName

Method ReadTypeName

test-app/runtime/src/main/cpp/MetadataReader.cpp:101–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101string MetadataReader::ReadTypeName(MetadataTreeNode *treeNode) {
102 string name;
103
104 auto itFound = m_typeNameCache.find(treeNode);
105
106 if (itFound != m_typeNameCache.end()) {
107 name = itFound->second;
108 } else {
109 name = ReadTypeNameInternal(treeNode);
110
111 m_typeNameCache.emplace(treeNode, name);
112 }
113
114 return name;
115}
116
117string MetadataReader::ReadTypeNameInternal(MetadataTreeNode *treeNode) {
118 string name;

Callers 8

MetadataEntry.cppFile · 0.45
MetadataNodeMethod · 0.45
SetMissingBaseMethodsMethod · 0.45
GetSignatureMethod · 0.45
GetDeclaringTypeMethod · 0.45

Calls 3

emplaceMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected