public SegregateMDXWithNWhere(String mdx)
{
mdx = mdx.replaceAll("\r", "");
try {
parser parser_obj;
Reader reader = new StringReader(mdx);
parser_obj = new parser(new Lexer(reader));
Symbol parse_tree = null;
ParsedQuery pQuery = null;
parse_tree = parser_obj.parse();
pQuery = (ParsedQuery) parse_tree.value;
pQuery.afterParse();
Formula [] formula=pQuery.getFormulas();
Exp slicer=pQuery.getSlicer();