Implements an architecture design for the Editor Servicese.
Editor services is an object that IRepl uses to request specific FailOrSuccessResults<> of some service result.
The Services interface directly with FailableFunctions.
The functions are composed by FunctionComposer, which is a similar factory/builder to CommandBuilder<B>. The Functioncomposer takes over some responsibilities of the commandbuilder and decouples the function composition from the IReplCommands.
The Eclipse frontend implements code to enable to display of highlighted regions.
The clients get a FailOrSuccessVisitor, which can only visit FailOrSuccessResults (These are still visitable in the original way as well, as part of the IResult interface).
The facilitate the dispatch of exceptions in the return (ExceptionResult), a third option to the FailOrSuccess data type was added. Whether this should stay is debatable, but currently it is safer to not break original behaviour.
Implements an architecture design for the Editor Servicese.
IRepl
uses to request specificFailOrSuccessResults<>
of some service result.FailableFunctions
.FunctionComposer
, which is a similar factory/builder toCommandBuilder<B>
. The Functioncomposer takes over some responsibilities of the commandbuilder and decouples the function composition from theIReplCommand
s.FailOrSuccessVisitor
, which can only visitFailOrSuccessResult
s (These are still visitable in the original way as well, as part of theIResult
interface).ExceptionResult
), a third option to the FailOrSuccess data type was added. Whether this should stay is debatable, but currently it is safer to not break original behaviour.Fixes #2. Fixes #4 .