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

Method ResolveVariablesToFixedValues

lib/macro/macro-action-macro.cpp:309–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309void MacroActionMacro::ResolveVariablesToFixedValues()
310{
311 _actionIndex.ResolveVariables();
312 _label.ResolveVariables();
313
314 if (_action == Action::NESTED_MACRO) {
315 for (auto &action : _nestedMacro->Actions()) {
316 action->ResolveVariablesToFixedValues();
317 }
318 for (auto &action : _nestedMacro->ElseActions()) {
319 action->ResolveVariablesToFixedValues();
320 }
321 }
322}
323
324static void runActionsHelper(Macro *macro, bool runElseActions, bool setInputs,
325 const StringList &inputs)

Callers

nothing calls this directly

Calls 1

ResolveVariablesMethod · 0.45

Tested by

no test coverage detected