CharStream stream = new ANTLRStringStream(formula);
metricsGrammarLexer lexer = new metricsGrammarLexer(stream);
TokenStream tokenStream = new CommonTokenStream(lexer);
metricsGrammarParser parser = new metricsGrammarParser(tokenStream,
mc, stack, doNotDisplay, syntaxCheck);
return parser.evaluator();
} catch (RecognitionException re) {
//This Exception will only be thrown if there is a general Error like a letter which is not allowed
return caughtRecognitionException(re, formula, mc, stack,
doNotDisplay, syntaxCheck);
} catch (FormulaVariableNotFoundException fvnfe) {