9 #include <unordered_map>
10 #include <unordered_set>
13 #include "GDCore/IDE/Events/ArbitraryEventsWorker.h"
14 #include "GDCore/String.h"
17 class VariablesContainer;
36 const std::unordered_map<gd::String, gd::String> &oldToNewVariableNames_,
37 const std::unordered_set<gd::String> &removedVariableNames_)
38 : platform(platform_),
39 targetVariablesContainer(targetVariablesContainer_),
40 oldToNewVariableNames(oldToNewVariableNames_),
41 removedVariableNames(removedVariableNames_){};
46 bool isCondition)
override;
56 const std::unordered_map<gd::String, gd::String> &oldToNewVariableNames;
57 const std::unordered_set<gd::String> &removedVariableNames;
An events worker that will know about the context (the objects container). Useful for workers working...
Definition: ArbitraryEventsWorker.h:113
Replace in expressions and in parameters of actions or conditions, references to the name of a variab...
Definition: EventsVariableReplacer.h:31
Class representing an expression used as a parameter of a gd::Instruction. This class is nothing more...
Definition: Expression.h:30
An instruction is a member of an event: It can be a condition or an action.
Definition: Instruction.h:30
String represents an UTF8 encoded string.
Definition: String.h:31
Class defining a container for gd::Variable.
Definition: VariablesContainer.h:30
Definition: CommonTools.h:24