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

Function TokenIsEmptyString

source/script2.cpp:16914–16929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16912
16913
16914BOOL TokenIsEmptyString(ExprTokenType &aToken)
16915{
16916 switch (aToken.symbol)
16917 {
16918 case SYM_STRING:
16919 return !*aToken.marker;
16920 case SYM_VAR:
16921 return !aToken.var->HasContents();
16922 //case SYM_MISSING: // This case is omitted because it currently should be
16923 // impossible for all callers except for ParamIndexIsOmittedOrEmpty(),
16924 // which checks for it explicitly.
16925 //return TRUE;
16926 default:
16927 return FALSE;
16928 }
16929}
16930
16931
16932__int64 TokenToInt64(ExprTokenType &aToken)

Callers 4

SetMenuMethod · 0.85
CallMethodFunction · 0.85
TokenTypeAndValueFunction · 0.85
OnXMethod · 0.85

Calls 1

HasContentsMethod · 0.80

Tested by

no test coverage detected