Пример #1
0
        public static List <Element> DecodeEquationIP(string input)
        {
            InputEquationDecoder decoder = new InputEquationDecoder(input);

            decoder.DecodeEquation();
            return(decoder.decodedEquation);
        }
Пример #2
0
 private static InputEquationDecoder HandleEquationDecoder()
 {
     try {
         InputEquationDecoder equation = new InputEquationDecoder(input);
         equation.DecodeEquation();
         return(equation);
     }
     catch (InvalidEquationException e) {
         return(null);
     }
 }