static Camlex() { // factories setup var operandBuilder = new OperandBuilder(); var operationResultBuilder = new OperationResultBuilder(); var analyzerFactory = new AnalyzerFactory(operandBuilder, operationResultBuilder); translatorFactory = new TranslatorFactory(analyzerFactory); // re var reoperandBuilder = new ReOperandBuilderFromCaml(); var reanalyzerFactory = new ReAnalyzerFromCamlFactory(reoperandBuilder); retranslatorFactory = new ReTranslatorFromCamlFactory(reanalyzerFactory); relinkerFactory = new ReLinkerFromCamlFactory(); }
public ReQuery(IReTranslatorFactory translatorFactory, IReLinkerFactory linkerFactory, string input) { this.translatorFactory = translatorFactory; this.linkerFactory = linkerFactory; this.input = input; }
static Camlex() { // factories setup var operandBuilder = new OperandBuilder(); var operationResultBuilder = new OperationResultBuilder(); var analyzerFactory = new AnalyzerFactory(operandBuilder, operationResultBuilder); translatorFactory = new TranslatorFactory(analyzerFactory); // re var reoperandBuilder = new ReOperandBuilderFromCaml(); var reanalyzerFactory = new ReAnalyzerFromCamlFactory(reoperandBuilder); retranslatorFactory = new ReTranslatorFromCamlFactory(reanalyzerFactory); relinkerFactory = new ReLinkerFromCamlFactory(); }
public ReQuery(IReTranslatorFactory translatorFactory, IReLinkerFactory linkerFactory, string input) { this.translatorFactory = translatorFactory; this.linkerFactory = linkerFactory; this.input = input; }
public Query(ITranslatorFactory translatorFactory, IReTranslatorFactory reTranslatorFactory) { this.translatorFactory = translatorFactory; this.reTranslatorFactory = reTranslatorFactory; }