All Downloads are FREE. Search and download functionalities are using the official Maven repository.

EOorg.EOeolang.EOhamcrest.EOassert_that$EOhas_item$EOmatch Maven / Gradle / Ivy

/*
 * This file was auto-generated by eolang-maven-plugin
 * on 2022-07-25T15:16:18.194Z. Don't edit it,
 * your changes will be discarded on the next build.
 *
 * The EO sources were compiled to XMIR on
 * 2022-07-25T15:14:41.001213Z by the compiler v.0.24.0.
 */

package EOorg.EOeolang.EOhamcrest;

import org.eolang.*;

//  
//   
//    
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//     
//   
//    
//      
//       
//       
//     
//      
//        
//         
//       
//       false
//        
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//       
//     
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "assert-that$has-item$match", oname = "match", source = "/home/r/repo/src/main/eo/org/eolang/hamcrest/assert-that.eo")
public final class EOassert_that$EOhas_item$EOmatch extends PhDefault {
  public EOassert_that$EOhas_item$EOmatch(final Phi sigma) {
    super(sigma);
    this.add("a", new AtFree(/* default */));
    this.add("apply", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOassert_that$EOhas_item$EOmatch$EOapply(rho);
        ret = new PhLocated(ret, 269, 6);
      return ret;
    })));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("seq").get();
        ret = new PhLocated(ret, 278, 6);
      ret = new PhCopy(ret);
        Phi ret_1_base = new PhMethod(new PhMethod(rho, "σ"), "mismatches");
          ret_1_base = new PhLocated(ret_1_base, 279, 8);
        Phi ret_1 = new PhMethod(ret_1_base, "write");
          ret_1 = new PhLocated(ret_1, 279, 18);
        ret_1 = new PhCopy(ret_1);
          Phi ret_1_1 = Phi.Φ.attr("org").get().attr("eolang").get().attr("array").get();
            ret_1_1 = new PhLocated(ret_1_1, 279, 25);
            Phi[] ret_1_1_a = new Phi[0];
            ret_1_1 = new PhWith(new PhCopy(ret_1_1), "Δ", new Data.Value(ret_1_1_a));
          ret_1 = new PhWith(ret_1, 0, ret_1_1);
        Phi ret_2_base = Phi.Φ.attr("org").get().attr("eolang").get().attr("collections").get().attr("list").get();
          ret_2_base = new PhLocated(ret_2_base, 281, 10);
        ret_2_base = new PhCopy(ret_2_base);
          Phi ret_2_base_1 = new PhMethod(new PhMethod(new PhMethod(rho, "σ"), "σ"), "actual");
            ret_2_base_1 = new PhLocated(ret_2_base_1, 282, 12);
          ret_2_base = new PhWith(ret_2_base, 0, ret_2_base_1);
        Phi ret_2 = new PhMethod(ret_2_base, "reducei");
          ret_2 = new PhLocated(ret_2, 280, 8);
        ret_2 = new PhCopy(ret_2);
          Phi ret_2_1 = new EOorg.EOeolang.EObool(Phi.Φ);
            ret_2_1 = new PhLocated(ret_2_1, 283, 10);
            ret_2_1 = new PhWith(ret_2_1, "Δ", new Data.Value(false));
          Phi ret_2_2 = new EOassert_that$EOhas_item$EOmatch$EOt2$EOt1$EOa2(rho);
            ret_2_2 = new PhLocated(ret_2_2, 284, 10);
          ret_2 = new PhWith(ret_2, 0, ret_2_1);
          ret_2 = new PhWith(ret_2, 1, ret_2_2);
        ret = new PhWith(ret, 0, ret_1);
        ret = new PhWith(ret, 1, ret_2);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy