MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / InvalidateTempVarValues

Method InvalidateTempVarValues

lib/macro/macro.cpp:717–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715}
716
717void Macro::InvalidateTempVarValues() const
718{
719 auto invalidateHelper =
720 [](const std::deque<std::shared_ptr<MacroSegment>> &segments) {
721 for (const auto &s : segments) {
722 s->InvalidateTempVarValues();
723 }
724 };
725
726 invalidateHelper({_conditions.begin(), _conditions.end()});
727 invalidateHelper({_actions.begin(), _actions.end()});
728 invalidateHelper({_elseActions.begin(), _elseActions.end()});
729}
730
731std::deque<std::shared_ptr<MacroCondition>> &Macro::Conditions()
732{

Callers 1

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected