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

EOorg.EOeolang.EOhamcrest.EOassert_that$EOhas_item$EOmatch$EOapply 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.*;

//  
//   
//    
//      
//       
//       
//     
//     true
//      
//        
//         
//          
//           
//            
//             
//           
//         
//       
//       false
//     
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "assert-that$has-item$match$apply", oname = "apply", source = "/home/r/repo/src/main/eo/org/eolang/hamcrest/assert-that.eo")
public final class EOassert_that$EOhas_item$EOmatch$EOapply extends PhDefault {
  public EOassert_that$EOhas_item$EOmatch$EOapply(final Phi sigma) {
    super(sigma);
    this.add("s", new AtFree(/* default */));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base_base = new PhMethod(new PhMethod(new PhMethod(rho, "σ"), "σ"), "matcher");
        ret_base_base = new PhLocated(ret_base_base, 271, 10);
      Phi ret_base = new PhMethod(ret_base_base, "match");
        ret_base = new PhLocated(ret_base, 271, 17);
      ret_base = new PhCopy(ret_base);
        Phi ret_base_1 = new PhMethod(rho, "s");
          ret_base_1 = new PhLocated(ret_base_1, 271, 24);
        ret_base = new PhWith(ret_base, 0, ret_base_1);
      Phi ret = new PhMethod(ret_base, "if");
        ret = new PhLocated(ret, 270, 8);
      ret = new PhCopy(ret);
        Phi ret_1 = new EOorg.EOeolang.EObool(Phi.Φ);
          ret_1 = new PhLocated(ret_1, 272, 10);
          ret_1 = new PhWith(ret_1, "Δ", new Data.Value(true));
        Phi ret_2 = Phi.Φ.attr("org").get().attr("eolang").get().attr("seq").get();
          ret_2 = new PhLocated(ret_2, 273, 10);
        ret_2 = new PhCopy(ret_2);
          Phi ret_2_1_base = new PhMethod(new PhMethod(new PhMethod(rho, "σ"), "σ"), "mismatches");
            ret_2_1_base = new PhLocated(ret_2_1_base, 274, 12);
          Phi ret_2_1 = new PhMethod(ret_2_1_base, "write");
            ret_2_1 = new PhLocated(ret_2_1, 274, 22);
          ret_2_1 = new PhCopy(ret_2_1);
            Phi ret_2_1_1_base = new PhMethod(new PhMethod(new PhMethod(rho, "σ"), "σ"), "mismatches");
              ret_2_1_1_base = new PhLocated(ret_2_1_1_base, 275, 14);
            Phi ret_2_1_1 = new PhMethod(ret_2_1_1_base, "with");
              ret_2_1_1 = new PhLocated(ret_2_1_1, 275, 24);
            ret_2_1_1 = new PhCopy(ret_2_1_1);
              Phi ret_2_1_1_1_base = new PhMethod(new PhMethod(new PhMethod(rho, "σ"), "σ"), "matcher");
                ret_2_1_1_1_base = new PhLocated(ret_2_1_1_1_base, 276, 16);
              Phi ret_2_1_1_1 = new PhMethod(ret_2_1_1_1_base, "describe-mismatch");
                ret_2_1_1_1 = new PhLocated(ret_2_1_1_1, 276, 23);
              ret_2_1_1 = new PhWith(ret_2_1_1, 0, ret_2_1_1_1);
            ret_2_1 = new PhWith(ret_2_1, 0, ret_2_1_1);
          Phi ret_2_2 = new EOorg.EOeolang.EObool(Phi.Φ);
            ret_2_2 = new PhLocated(ret_2_2, 277, 12);
            ret_2_2 = new PhWith(ret_2_2, "Δ", new Data.Value(false));
          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