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

Function segmentIsPartOfMacro

lib/utils/temp-variable.cpp:237–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237static bool segmentIsPartOfMacro(const MacroSegment *segment,
238 const Macro *macro)
239{
240 if (!macro) {
241 return false;
242 }
243
244 return segmentIsPartOfSegmentList(segment, macro->Conditions()) ||
245 segmentIsPartOfSegmentList(segment, macro->Actions()) ||
246 segmentIsPartOfSegmentList(segment, macro->ElseActions());
247}
248
249static bool isMatchingNestedMacroAction(MacroAction *action, const Macro *macro)
250{

Callers 1

getDepthFunction · 0.85

Calls 1

Tested by

no test coverage detected