| 534 | } |
| 535 | |
| 536 | bool 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 | |
| 549 | void BfAutoComplete::AddMethod(BfTypeInstance* typeInstance, BfMethodDef* methodDef, BfMethodInstance* methodInstance, BfMethodDeclaration* methodDecl, const StringImpl& methodName, const StringImpl& filter) |
| 550 | { |