| 4384 | } |
| 4385 | |
| 4386 | void DbgExprEvaluator::AutocompleteAddMethod(const char* methodName, const StringImpl& filter) |
| 4387 | { |
| 4388 | const char* atPos = strchr(methodName, '@'); |
| 4389 | if (atPos == NULL) |
| 4390 | { |
| 4391 | if ((strncmp(methodName, "get__", 5) == 0) || |
| 4392 | (strncmp(methodName, "set__", 5) == 0)) |
| 4393 | { |
| 4394 | const char* propName = methodName + 5; |
| 4395 | if (*propName != (char)0) |
| 4396 | mAutoComplete->AddEntry(AutoCompleteEntry("property", propName), filter); |
| 4397 | } |
| 4398 | else if (strncmp(methodName, "__", 2) != 0) |
| 4399 | mAutoComplete->AddEntry(AutoCompleteEntry("method", methodName), filter); |
| 4400 | } |
| 4401 | } |
| 4402 | |
| 4403 | void DbgExprEvaluator::AutocompleteAddMembers(DbgType* dbgType, bool wantsStatic, bool wantsNonStatic, const StringImpl& filter, bool isCapture) |
| 4404 | { |
nothing calls this directly
no test coverage detected