private int Prec(int token) { return(ExpInfo.OpPrec(token)); //返回操作符的优先级数 }
//是否是二元操作符 private bool IsBinaryOperator(int token) { return(ExpInfo.OpPrec(token) != -1 ? true : false); }
private int Prec(int token) { return(ExpInfo.OpPrec(token)); //返回操作符的优先级数 }
//是否是二元操作符 private bool IsBinaryOperator(int token) { return(ExpInfo.OpPrec(token) != -1 ? true : false); }