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

Method AutocompleteAddMethod

IDEHelper/DbgExprEvaluator.cpp:4386–4401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4384}
4385
4386void 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
4403void DbgExprEvaluator::AutocompleteAddMembers(DbgType* dbgType, bool wantsStatic, bool wantsNonStatic, const StringImpl& filter, bool isCapture)
4404{

Callers

nothing calls this directly

Calls 2

AutoCompleteEntryClass · 0.85
AddEntryMethod · 0.80

Tested by

no test coverage detected