public EBNFMathExpressionCompileTestsInfix() { this.mathCompiler = new MathCompilerEBNF(); }
public MathCalculator(IContext context, IMathCompiler mathCompiler) { this.mathCompiler = mathCompiler; this.Context = context; }
public MathCalculator(IContext context) { this.Context = context; this.mathCompiler = new MathCompilerEBNF(); }
public MathCalculator(IMathCompiler mathCompiler) { this.mathCompiler = mathCompiler; this.Context = new DefaultContext(); }
public MathCalculator() { this.Context = new DefaultContext(); this.mathCompiler = new MathCompilerEBNF(); this.mathInterpreter = new MathInterpreter(); }