| 4 | std::string ExtensionPoint::ExtensionTable = "emmyHelper"; |
| 5 | |
| 6 | int metaQuery(lua_State* L) |
| 7 | { |
| 8 | const int argN = lua_gettop(L); |
| 9 | auto pVar = (Idx<Variable>*)lua_touserdata(L, 1); |
| 10 | const int index = 2; |
| 11 | const auto depth = lua_tonumber(L, 3); |
| 12 | bool queryHelper = false; |
| 13 | if (argN >= 4) |
| 14 | { |
| 15 | queryHelper = lua_toboolean(L, 4); |
| 16 | } |
| 17 | auto debugger = EmmyFacade::Get().GetDebugger(L); |
| 18 | |
| 19 | if (debugger) |
| 20 | { |
| 21 | debugger->GetVariable(L, *pVar, index, static_cast<int>(depth), queryHelper); |
| 22 | } |
| 23 | return 0; |
| 24 | } |
| 25 | |
| 26 | int metaAddChild(lua_State* L) |
| 27 | { |
nothing calls this directly
no test coverage detected