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

Method GetTempVarRefs

lib/macro/macro-segment.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace advss {
17
18std::vector<TempVariableRef> MacroSegment::GetTempVarRefs() const
19{
20 std::vector<TempVariableRef> refs;
21 for (const auto &mapping : _varMappings) {
22 if (mapping.tempVar.HasValidID()) {
23 refs.push_back(mapping.tempVar);
24 }
25 }
26 return refs;
27}
28
29void MacroSegment::ApplyVarMappings()
30{

Callers 1

segmentsReferToFunction · 0.45

Calls 1

HasValidIDMethod · 0.80

Tested by

no test coverage detected