struct
SourceChangeCombinationMultiple source changes that all need to be applied together (i.e. in combination).
Contents
Supports equality operators.
Base classes
- struct CommonSCInfo
- Common information for source changes.
Constructors, destructors, conversion operators
- SourceChangeCombination()
- Default constructor.
- SourceChangeCombination(std::vector<SourceChangeTree> changes)
- Constructor with data.
Public functions
- void add(SourceChangeTree)
- Add any source change to the combination.
- auto simplify() const -> std::optional< SourceChangeTree > -> auto
Public variables
- std::vector<SourceChangeTree> changes
- The changes to apply together.
Function documentation
auto minilua:: SourceChangeCombination:: simplify() const -> std::optional< SourceChangeTree >
(Recursively) simplifies the tree.
Empty combinations will be converted to nullopts.