MCPcopy Create free account
hub / github.com/argotorg/solidity / topLevelSubObjectNames

Method topLevelSubObjectNames

libyul/Object.cpp:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117std::set<std::string> Object::Structure::topLevelSubObjectNames() const
118{
119 std::set<std::string> topLevelObjectNames;
120
121 for (auto const& path: objectPaths)
122 if (!util::contains(path, '.') && path != objectName)
123 topLevelObjectNames.insert(path);
124
125 return topLevelObjectNames;
126}
127
128Object::Structure Object::summarizeStructure() const
129{

Callers 2

operator()Method · 0.80

Calls 2

containsFunction · 0.85
insertMethod · 0.80

Tested by

no test coverage detected