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

Method InitFileData

IDEHelper/Compiler/BfParser.cpp:258–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258void BfParserData::InitFileData()
259{
260 BF_ASSERT(mParseFileData == NULL);
261
262 BfParseFileData** valuePtr = NULL;
263 if (gBfParserCache->mParseFileDataMap.TryAdd(mFileName, NULL, &valuePtr))
264 {
265 *valuePtr = new BfParseFileData();
266 }
267 mParseFileData = *valuePtr;
268 mParseFileData->mRefCount++;
269}
270
271int BfParserData::GetCharIdAtIndex(int findIndex)
272{

Callers 1

InitMethod · 0.80

Calls 1

TryAddMethod · 0.45

Tested by

no test coverage detected