MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / TypeError

Method TypeError

source/script.cpp:13124–13131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13122}
13123
13124__declspec(noinline)
13125ResultType ResultToken::TypeError(LPCTSTR aExpectedType, ExprTokenType &aActualValue)
13126{
13127 TCHAR number_buf[MAX_NUMBER_SIZE];
13128 LPTSTR actual_type, value_as_string;
13129 TokenTypeAndValue(aActualValue, actual_type, value_as_string, number_buf);
13130 return TypeError(aExpectedType, actual_type, value_as_string);
13131}
13132
13133ResultType ResultToken::TypeError(LPCTSTR aExpectedType, LPCTSTR aActualType, LPTSTR aExtraInfo)
13134{

Callers 5

SetMenuMethod · 0.80
ExpandExpressionMethod · 0.80
CallMethod · 0.80
ExecUntilMethod · 0.80
EvaluateSwitchCaseMethod · 0.80

Calls 3

TokenTypeAndValueFunction · 0.85
ctolowerFunction · 0.85
sntprintfFunction · 0.85

Tested by

no test coverage detected