MCPcopy Create free account
hub / github.com/chigraph/chigraph / updateEntries

Method updateEntries

libchigraph/src/GraphFunction.cpp:359–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359void GraphFunction::updateEntries() {
360 auto matching = nodesWithType("lang", "entry");
361
362 for (auto entry : matching) {
363 if (entry == nullptr) { return; }
364
365 std::unique_ptr<NodeType> entryNodeType;
366 createEntryNodeType(&entryNodeType);
367
368 entry->setType(std::move(entryNodeType));
369 }
370}
371
372void GraphFunction::updateExits() {
373 for (const auto& exitNode : nodesWithType("lang", "exit")) {

Callers

nothing calls this directly

Calls 1

setTypeMethod · 0.80

Tested by

no test coverage detected