Builder

public class Builder<I extends IInputUnit, P extends IParseUnit, A extends IAnalyzeUnit, AU extends IAnalyzeUnitUpdate, T extends ITransformUnit<?>, TP extends ITransformUnit<P>, TA extends ITransformUnit<A>> implements IBuilder<P, A, AU, T>

Builder implementation.

Parameters:
  • <P> – Type of parse units.
  • <A> – Type of analyze units.
  • <AU> – Type of analyze unit updates.
  • <T> – Type of transform units with any input.
  • <TP> – Type of transform units with parse units as input.
  • <TA> – Type of transform units with analyze units as input.

Constructors

Builder

public Builder(IResourceService resourceService, ILanguageIdentifierService languageIdentifier, ILanguagePathService languagePathService, IUnitService<I, P, A, AU, TP, TA> unitService, ISourceTextService sourceTextService, ISyntaxService<I, P> syntaxService, IContextService contextService, IAnalysisService<P, A, AU> analysisService, ITransformService<P, A, TP, TA> transformService, IParseResultUpdater<P> parseResultUpdater, IAnalysisResultUpdater<P, A> analysisResultUpdater, Provider<IBuildOutputInternal<P, A, AU, T>> buildOutputProvider)

Methods

build

public IBuildOutput<P, A, AU, T> build(BuildInput input, IProgress progress, ICancel cancel)

clean

public void clean(CleanInput input, IProgress progress, ICancel cancel)