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

Function BfParser_FinishClassifier

IDEHelper/Compiler/BfParser.cpp:4305–4325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4303}
4304
4305BF_EXPORT void BF_CALLTYPE BfParser_FinishClassifier(BfParser* bfParser, BfResolvePassData* resolvePassData)
4306{
4307 if (bfParser->mSourceClassifier == NULL)
4308 return;
4309
4310 bool doClassifyPass = (bfParser->mSourceClassifier->mCharData != NULL) && (resolvePassData->mResolveType <= BfResolveType_Autocomplete_HighPri);
4311
4312 if (doClassifyPass)
4313 {
4314 bfParser->mSourceClassifier->mIsSideChannel = false;
4315 if (bfParser->mErrorRootNode != NULL)
4316 bfParser->mSourceClassifier->Visit(bfParser->mErrorRootNode);
4317
4318 bfParser->mSourceClassifier->mIsSideChannel = true;
4319 if (bfParser->mSidechannelRootNode != NULL)
4320 bfParser->mSourceClassifier->Visit(bfParser->mSidechannelRootNode);
4321 }
4322
4323 delete bfParser->mSourceClassifier;
4324 bfParser->mSourceClassifier = NULL;
4325}
4326
4327BF_EXPORT void BF_CALLTYPE BfParser_GenerateAutoCompletionFrom(BfParser* bfParser, int srcPosition)
4328{

Callers

nothing calls this directly

Calls 1

VisitMethod · 0.45

Tested by

no test coverage detected