add ExprType String function, added preorder position information, changed CalcExprStats functio prototype