MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / get

Method get

extlibs/sol3/include/sol/sol.hpp:14294–14302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14292 struct probe_field_getter {
14293 template <typename Key>
14294 probe get(lua_State* L, Key&& key, int tableindex = -2) {
14295 if constexpr(!b) {
14296 if (!maybe_indexable(L, tableindex)) {
14297 return probe(false, 0);
14298 }
14299 }
14300 get_field<b, raw>(L, std::forward<Key>(key), tableindex);
14301 return probe(check<P>(L), 1);
14302 }
14303 };
14304
14305 template <typename A, typename B, typename P, bool b, bool raw, typename C>

Callers

nothing calls this directly

Calls 2

maybe_indexableFunction · 0.85
probeClass · 0.85

Tested by

no test coverage detected