Lumiera
0.pre.03
»edit your freedom«
|
The representation is given as a linearised sequence of verb tokens. In addition to the verbs used for list diffing, here we additionally have to deal with nested scopes, which can be entered thorough a bracketing construct mut(ID)
...emu(ID). This test demonstrates the application of such diff sequences
Definition at line 104 of file diff-tree-application-test.cpp.
Private Types | |
using | DiffSeq = iter_stl::IterSnapshot< DiffStep > |
Private Types inherited from TreeDiffLanguage | |
using | Interpreter = TreeDiffInterpreter |
Private Types inherited from DiffLanguage< TreeDiffInterpreter, GenNode > | |
using | DiffToken = std::tuple< DiffVerb, GenNode > |
using | DiffVerb = VerbToken< TreeDiffInterpreter, void(GenNode const &)> |
using | Interpreter = TreeDiffInterpreter |
Private Member Functions | |
DiffSeq | mutationDiff () |
DiffSeq | populationDiff () |
virtual void | run (Arg) |
Private Member Functions inherited from TreeDiffLanguage | |
DiffStep_CTOR (ins) | |
DiffStep_CTOR (del) | |
DiffStep_CTOR (pick) | |
DiffStep_CTOR (find) | |
DiffStep_CTOR (skip) | |
DiffStep_CTOR (after) | |
DiffStep_CTOR (set) | |
DiffStep_CTOR (mut) | |
DiffStep_CTOR (emu) | |
Additional Inherited Members | |
Static Private Attributes inherited from DiffLanguage< TreeDiffInterpreter, GenNode > | |
static const DiffStep | NIL |
fixed "invalid" marker token More... | |