MCPcopy Create free account
hub / github.com/beefytech/Beef / ToString

Method ToString

IDEHelper/Compiler/BfSystem.cpp:296–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296String BfAtomComposite::ToString() const
297{
298 if (mSize == 0)
299 return "";
300 if (mSize == 1)
301 return String(mParts[0]->mString);
302 String retStr;
303 for (int i = 0; i < mSize; i++)
304 {
305 if (i > 0)
306 retStr += ".";
307 retStr += mParts[i]->mString;
308 }
309 return retStr;
310}
311
312void BfAtomComposite::ToString(StringImpl& str) const
313{

Callers 8

GetAutoPropertyNameMethod · 0.45
AddNamespaceUsageMethod · 0.45
RemoveNamespaceUsageMethod · 0.45
FindFixitNamespacesMethod · 0.45
GetGenericParamIdxMethod · 0.45
VisitMethod · 0.45
VisitMethod · 0.45

Calls 3

StringClass · 0.85
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected