public static boolean checkPrecedenceForNonBinaryOps(int precedence, int parentPrecedence) {
    return precedence > parentPrecedence;
  }
public static boolean checkPrecedenceForNonBinaryOps(int precedence, int parentPrecedence)