public Input Evaluate(string input)
        {
            ParsedInput parsedInput = parser.Parse(input);

            IInputTreeEvaluationStrategy evaluation = new InputTreeEvaluationStrategy(tree, environment);

            return(evaluation.Evaluate(parsedInput));
        }
Exemple #2
0
 public void Process(string input)
 {
     ParsedInput parsedInput = parser.Parse(input);
 }