Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/diff/tree-mutator-noop-binding.hpp"
Diff binding for black holes, happily accepting anything.
Definition at line 60 of file tree-mutator-noop-binding.hpp.
Public Types | |
using | Buff = TreeMutator::Handle |
using | Elm = GenNode const & |
Public Types inherited from TreeMutator | |
using | Handle = PlantingHandle< TreeMutator > |
Public Member Functions | |
bool | accept_until (Elm) override |
profess to forward anywhere | |
bool | acceptSrc (Elm) override |
claim to handle any diff task | |
bool | assignElm (Elm) override |
accept any assignment | |
bool | findSrc (Elm) override |
sham to find anything | |
bool | hasSrc () override |
always keen to do yet more | |
bool | injectNew (Elm) override |
pretend to inject something new | |
bool | matchSrc (Elm) override |
purport suitable element is waiting | |
bool | mutateChild (Elm, Buff buff) override |
< ignore inferiors, yet reproduce yourself | |
Public Member Functions inherited from TreeMutator | |
TreeMutator (TreeMutator &&)=default | |
virtual | ~TreeMutator () |
this is an interface More... | |
virtual bool | accept_until (GenNode const &spec) |
repeatedly accept, until after the designated location | |
virtual bool | acceptSrc (GenNode const &) |
accept existing element, when matching the given spec | |
virtual bool | assignElm (GenNode const &) |
locate the designated target element (must be already accepted into the target sequence). More... | |
virtual bool | completeScope () |
ensure the scope addressed by this TreeMutator was processed and exhausted without mismatch More... | |
virtual bool | findSrc (GenNode const &) |
locate designated element and accept it at current position | |
virtual void | init () |
initialisation immediately before start of diff application More... | |
virtual bool | injectNew (GenNode const &) |
establish new element at current position More... | |
virtual bool | matchSrc (GenNode const &) |
ensure the next source element matches with given spec | |
virtual bool | mutateChild (GenNode const &, Handle) |
locate the designated target element and build a suitable sub-mutator for this element into the provided target buffer More... | |
virtual void | skipSrc (GenNode const &) |
skip next src element and advance abstract source position. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from TreeMutator | |
static Builder< TreeMutator > | build () |
DSL: start building a custom adapted tree mutator, where the operations are tied by closures or wrappers into the current implementation context. | |