MCPcopy Create free account
hub / github.com/cycfi/elements / in_context_do

Method in_context_do

lib/src/element/element.cpp:269–273  ·  view source on GitHub ↗

* \brief * Executes a function within the given context. * * This function provides a way to encapsulate a behaviour or action * that needs to be performed on a given element, `e`, when its proper * context is found. The element hierarchy is traversed until we find * the match for the element `e` at which point the function `f(ctx)` * is invoked. *

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected