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

Method CheckDocumentation

IDEHelper/Compiler/BfAutoComplete.cpp:3419–3435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3417}
3418
3419bool BfAutoComplete::CheckDocumentation(AutoCompleteEntry* entry, BfCommentNode* documentation)
3420{
3421 if (mDocumentationEntryName.IsEmpty())
3422 return false;
3423
3424 if (mDocumentationEntryName != entry->mDisplay)
3425 return false;
3426
3427 if (documentation != NULL)
3428 {
3429 StringT<128> str;
3430 documentation->GetDocString(str);
3431 entry->mDocumentation = mAlloc.AllocString(str);
3432 }
3433
3434 return true;
3435}
3436
3437void BfAutoComplete::CheckEmptyStart(BfAstNode* prevNode, BfType* type)
3438{

Callers

nothing calls this directly

Calls 3

GetDocStringMethod · 0.80
AllocStringMethod · 0.80
IsEmptyMethod · 0.45

Tested by

no test coverage detected