MCPcopy Create free account
hub / github.com/Icinga/icinga2 / InvokeThis

Method InvokeThis

lib/base/function.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29Value Function::InvokeThis(const Value& otherThis, const std::vector<Value>& arguments)
30{
31 ScriptFrame frame(false, otherThis);
32 return m_Callback(arguments);
33}
34
35Object::Ptr Function::Clone() const
36{

Callers 4

FunctionCallFunction · 0.80
FunctionCallVFunction · 0.80
EvaluateFunctionMethod · 0.80
FunctionCallMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected