public ConstantExpressionSolver( ITokenizer tokenizer, IParser parser, IConstantExpressionCalculator calculator) { _tokenizer = tokenizer; _parser = parser; _calculator = calculator; }
public ConstantExpressionSolver() { _tokenizer = new Tokenizer(); _parser = new ExpressionParser(); _calculator = new ConstantExpressionCalculator(); }