| 3459 | } |
| 3460 | |
| 3461 | bool BfAutoComplete::CheckFixit(BfAstNode* node) |
| 3462 | { |
| 3463 | if (mIgnoreFixits) |
| 3464 | return false; |
| 3465 | if (mModule == NULL) |
| 3466 | return false; |
| 3467 | if (mCompiler->mResolvePassData->mResolveType != BfResolveType_GetFixits) |
| 3468 | return false; |
| 3469 | if (!IsAutocompleteLineNode(node)) |
| 3470 | return false; |
| 3471 | if (mInsertStartIdx == -1) |
| 3472 | { |
| 3473 | mInsertStartIdx = node->GetSrcStart(); |
| 3474 | mInsertEndIdx = node->GetSrcStart(); |
| 3475 | } |
| 3476 | return true; |
| 3477 | } |
| 3478 | |
| 3479 | int BfAutoComplete::FixitGetMemberInsertPos(BfTypeDef* typeDef) |
| 3480 | { |
no test coverage detected