![]() |
Lumiera 0.pre.04
»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 | Elm = GenNode const & |
| using | Buff = TreeMutator::Handle |
Public Types inherited from TreeMutator | |
| using | Handle = PlantingHandle< TreeMutator > |
Public Member Functions | |
| BlackHoleMutation ()=default | |
| 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 | acceptSrc (Elm) override |
| claim to handle any diff task | |
| bool | accept_until (Elm) override |
| profess to forward anywhere | |
| bool | findSrc (Elm) override |
| sham to find anything | |
| bool | assignElm (Elm) override |
| accept any assignment | |
| bool | mutateChild (Elm, Buff buff) override |
| < ignore inferiors, yet reproduce yourself | |
Public Member Functions inherited from TreeMutator | |
| virtual | ~TreeMutator () |
| this is an interface | |
| TreeMutator ()=default | |
| TreeMutator (TreeMutator &&)=default | |
| virtual void | init () |
| initialisation immediately before start of diff application | |
| virtual bool | injectNew (GenNode const &) |
| establish new element at current position | |
| virtual bool | matchSrc (GenNode const &) |
| ensure the next source element matches with given spec | |
| virtual void | skipSrc (GenNode const &) |
| skip next src element and advance abstract source position. | |
| virtual bool | acceptSrc (GenNode const &) |
| accept existing element, when matching the given spec | |
| virtual bool | accept_until (GenNode const &spec) |
| repeatedly accept, until after the designated location | |
| virtual bool | findSrc (GenNode const &) |
| locate designated element and accept it at current position | |
| virtual bool | assignElm (GenNode const &) |
| locate the designated target element (must be already accepted into the target sequence). | |
| 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 | |
| virtual bool | completeScope () |
| ensure the scope addressed by this TreeMutator was processed and exhausted without mismatch | |
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. | |
|
default |
Definition at line 70 of file tree-mutator-noop-binding.hpp.
| using Buff = TreeMutator::Handle |
Definition at line 71 of file tree-mutator-noop-binding.hpp.
|
inlineoverridevirtual |
always keen to do yet more
Reimplemented from TreeMutator.
Definition at line 73 of file tree-mutator-noop-binding.hpp.
|
inlineoverride |
pretend to inject something new
Definition at line 75 of file tree-mutator-noop-binding.hpp.
|
inlineoverride |
purport suitable element is waiting
Definition at line 76 of file tree-mutator-noop-binding.hpp.
|
inlineoverride |
claim to handle any diff task
Definition at line 77 of file tree-mutator-noop-binding.hpp.
|
inlineoverride |
profess to forward anywhere
Definition at line 78 of file tree-mutator-noop-binding.hpp.
|
inlineoverride |
sham to find anything
Definition at line 79 of file tree-mutator-noop-binding.hpp.
|
inlineoverride |
accept any assignment
Definition at line 80 of file tree-mutator-noop-binding.hpp.
< ignore inferiors, yet reproduce yourself
Definition at line 83 of file tree-mutator-noop-binding.hpp.
Inheritance diagram for BlackHoleMutation:
Collaboration diagram for BlackHoleMutation: