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

EOorg.EOeolang.EOcollections.EOmultimap$EOfound Maven / Gradle / Ivy

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

package EOorg.EOeolang.EOcollections;

import org.eolang.*;

//  
//   
//    
//      
//       
//     
//   
//    
//      
//        
//         
//       
//       0
//     
//     
//      
//       
//       
//        
//         
//          
//           
//            
//             
//           
//         
//       
//     
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "multimap$found", oname = "found", source = "/home/r/repo/target/eo/04-pull/org/eolang/collections/multimap.eo")
public final class EOmultimap$EOfound extends PhDefault {
  public EOmultimap$EOfound(final Phi sigma) {
    super(sigma);
    this.add("key", new AtFree(/* default */));
    this.add("num", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("math").get().attr("number").get();
        ret = new PhLocated(ret, 83, 4);
      ret = new PhCopy(ret);
        Phi ret_1_base = new PhMethod(rho, "key");
          ret_1_base = new PhLocated(ret_1_base, 83, 12);
        Phi ret_1 = new PhMethod(ret_1_base, "as-hash");
          ret_1 = new PhLocated(ret_1, 83, 15);
        ret = new PhWith(ret, 0, ret_1);
      ret = new PhConst(ret);
      return ret;
    })));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base_base_base = new PhMethod(new PhMethod(rho, "σ"), "m");
        ret_base_base_base = new PhLocated(ret_base_base_base, 86, 8);
      Phi ret_base_base = new PhMethod(ret_base_base_base, "length");
        ret_base_base = new PhLocated(ret_base_base, 86, 9);
      Phi ret_base = new PhMethod(ret_base_base, "eq");
        ret_base = new PhLocated(ret_base, 85, 6);
      ret_base = new PhCopy(ret_base);
        Phi ret_base_1 = new EOorg.EOeolang.EOint(Phi.Φ);
          ret_base_1 = new PhLocated(ret_base_1, 87, 8);
          ret_base_1 = new PhWith(ret_base_1, "Δ", new Data.Value(0L));
        ret_base = new PhWith(ret_base, 0, ret_base_1);
      Phi ret = new PhMethod(ret_base, "if");
        ret = new PhLocated(ret, 84, 4);
      ret = new PhCopy(ret);
        Phi ret_1 = Phi.Φ.attr("org").get().attr("eolang").get().attr("array").get();
          ret_1 = new PhLocated(ret_1, 88, 6);
          Phi[] ret_1_a = new Phi[0];
          ret_1 = new PhWith(new PhCopy(ret_1), "Δ", new Data.Value(ret_1_a));
        Phi ret_2_base = new PhMethod(rho, "ρ");
          ret_2_base = new PhLocated(ret_2_base, 89, 6);
        Phi ret_2 = new PhMethod(ret_2_base, "find-in-list");
          ret_2 = new PhLocated(ret_2, 89, 7);
        ret_2 = new PhCopy(ret_2);
          Phi ret_2_1 = new PhMethod(rho, "key");
            ret_2_1 = new PhLocated(ret_2_1, 89, 21);
          Phi ret_2_2_base = new PhMethod(new PhMethod(rho, "σ"), "m");
            ret_2_2_base = new PhLocated(ret_2_2_base, 89, 26);
          Phi ret_2_2 = new PhMethod(ret_2_2_base, "at");
            ret_2_2 = new PhLocated(ret_2_2, 89, 27);
          ret_2_2 = new PhCopy(ret_2_2);
            Phi ret_2_2_1_base = new PhMethod(rho, "num");
              ret_2_2_1_base = new PhLocated(ret_2_2_1_base, 89, 32);
            Phi ret_2_2_1 = new PhMethod(ret_2_2_1_base, "mod");
              ret_2_2_1 = new PhLocated(ret_2_2_1, 89, 35);
            ret_2_2_1 = new PhCopy(ret_2_2_1);
              Phi ret_2_2_1_1_base = new PhMethod(new PhMethod(rho, "σ"), "m");
                ret_2_2_1_1_base = new PhLocated(ret_2_2_1_1_base, 89, 41);
              Phi ret_2_2_1_1 = new PhMethod(ret_2_2_1_1_base, "length");
                ret_2_2_1_1 = new PhLocated(ret_2_2_1_1, 89, 42);
              ret_2_2_1 = new PhWith(ret_2_2_1, 0, ret_2_2_1_1);
            ret_2_2 = new PhWith(ret_2_2, 0, ret_2_2_1);
          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