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

Method IsAttribute

IDEHelper/Compiler/BfAutoComplete.cpp:536–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534}
535
536bool BfAutoComplete::IsAttribute(BfTypeInstance* typeInst)
537{
538 auto checkTypeInst = typeInst;
539 while (checkTypeInst != NULL)
540 {
541 if (checkTypeInst->mTypeDef->GetLatest() == mModule->mCompiler->mAttributeTypeDef->GetLatest())
542 return true;
543
544 checkTypeInst = checkTypeInst->mBaseType;
545 }
546 return false;
547}
548
549void BfAutoComplete::AddMethod(BfTypeInstance* typeInstance, BfMethodDef* methodDef, BfMethodInstance* methodInstance, BfMethodDeclaration* methodDecl, const StringImpl& methodName, const StringImpl& filter)
550{

Callers

nothing calls this directly

Calls 1

GetLatestMethod · 0.80

Tested by

no test coverage detected