struct
UnaryOriginOrigin for a Value that was created in a unary operation (or some functions with one argument).
Contents
- Reference
Support equality operators.
Public functions
- auto simplify() const -> Origin -> auto
Public variables
Function documentation
auto minilua:: UnaryOrigin:: simplify() const -> Origin
Simplify the origin.
Removes unusable origins from the tree.
Variable documentation
std::function<ReverseFn> minilua:: UnaryOrigin:: reverse
The reverse function.
Takes as parameters: new_value
and old_value
and returns std::optional<SourceChangeTree>
.