MCPcopy Create free account
hub / github.com/Snapchat/Valdi / createContext

Method createContext

valdi/src/valdi/runtime/Context/ContextManager.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22ContextManager::~ContextManager() = default;
23
24SharedContext ContextManager::createContext(Ref<ContextHandler> handler, // NOLINT(performance-unnecessary-value-param)
25 const Ref<ViewManagerContext>& viewManagerContext,
26 bool deferRender,
27 const StringBox& scopeName) {
28 return createContext(std::move(handler), viewManagerContext, ComponentPath(), nullptr, nullptr, false, deferRender, scopeName);
29}
30
31SharedContext ContextManager::createContext(Ref<ContextHandler> handler, // NOLINT(performance-unnecessary-value-param)
32 const Ref<ViewManagerContext>& viewManagerContext,

Callers

nothing calls this directly

Calls 8

resolveAttributionMethod · 0.80
slowToStringMethod · 0.80
toStringMethod · 0.65
ComponentPathClass · 0.50
postInitMethod · 0.45
isEmptyMethod · 0.45
getContextIdMethod · 0.45
onContextCreatedMethod · 0.45

Tested by

no test coverage detected