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

Method Call

source/script_expression.cpp:1651–1659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1649
1650
1651bool Func::Call(ResultToken &aResultToken, ExprTokenType *aParam[], int aParamCount)
1652{
1653 if (aParamCount > mParamCount && !mIsVariadic) // v2 policy.
1654 {
1655 aResultToken.Error(ERR_TOO_MANY_PARAMS, mName);
1656 return false;
1657 }
1658 return true;
1659}
1660
1661bool NativeFunc::Call(ResultToken &aResultToken, ExprTokenType *aParam[], int aParamCount)
1662{

Callers

nothing calls this directly

Calls 15

TokenToOutputVarFunction · 0.85
TokenToObjectFunction · 0.85
ErrorMethod · 0.80
ParamErrorMethod · 0.80
ExitedMethod · 0.80
IsOfTypeMethod · 0.80
GetOwnPropMethod · 0.80
TypeErrorMethod · 0.80
ToTokenSkipAddRefMethod · 0.80
MemoryErrorMethod · 0.80
ForFuncMethod · 0.80
SetAliasDirectMethod · 0.80

Tested by

no test coverage detected