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

EOorg.EOeolang.EOcollections.EOmultimap$EOwith 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.*;

//  
//   
//   
//    
//     
//     
//   
//    
//     
//     
//   
//    
//     
//     
//   
//    
//     
//     
//   
//    
//     
//     
//     
//   
//    
//     
//   
//    
//      
//        
//         
//       
//        
//         
//       
//     
//     
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "multimap$with", oname = "with", source = "/home/r/repo/target/eo/04-pull/org/eolang/collections/multimap.eo")
public final class EOmultimap$EOwith extends PhDefault {
  public EOmultimap$EOwith(final Phi sigma) {
    super(sigma);
    this.add("key", new AtFree(/* default */));
    this.add("value", new AtFree(/* default */));
    this.add("new-pair", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("array").get();
        ret = new PhLocated(ret, 57, 4);
        Phi[] ret_a = new Phi[2];
        Phi ret_a0 = new PhMethod(rho, "key");
          ret_a0 = new PhLocated(ret_a0, 57, 6);
        ret_a[0] = ret_a0;
        Phi ret_a1 = new PhMethod(rho, "value");
          ret_a1 = new PhLocated(ret_a1, 57, 10);
        ret_a[1] = ret_a1;
        ret = new PhWith(new PhCopy(ret), "Δ", new Data.Value(ret_a));
      ret = new PhConst(ret);
      return ret;
    })));
    this.add("caa", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = new PhMethod(rho, "ρ");
        ret_base = new PhLocated(ret_base, 58, 4);
      Phi ret = new PhMethod(ret_base, "concat-all-arrays");
        ret = new PhLocated(ret, 58, 5);
      ret = new PhCopy(ret);
        Phi ret_1 = new PhMethod(new PhMethod(rho, "σ"), "m");
          ret_1 = new PhLocated(ret_1, 58, 24);
        ret = new PhWith(ret, 0, ret_1);
      ret = new PhConst(ret);
      return ret;
    })));
    this.add("arr", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = new PhMethod(rho, "caa");
        ret_base = new PhLocated(ret_base, 59, 4);
      Phi ret = new PhMethod(ret_base, "with");
        ret = new PhLocated(ret, 59, 7);
      ret = new PhCopy(ret);
        Phi ret_1 = new PhMethod(rho, "new-pair");
          ret_1 = new PhLocated(ret_1, 59, 13);
        ret = new PhWith(ret, 0, ret_1);
      ret = new PhConst(ret);
      return ret;
    })));
    this.add("harr", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = new PhMethod(rho, "ρ");
        ret_base = new PhLocated(ret_base, 60, 4);
      Phi ret = new PhMethod(ret_base, "pairs-to-hash");
        ret = new PhLocated(ret, 60, 5);
      ret = new PhCopy(ret);
        Phi ret_1 = new PhMethod(rho, "arr");
          ret_1 = new PhLocated(ret_1, 60, 20);
        ret = new PhWith(ret, 0, ret_1);
      ret = new PhConst(ret);
      return ret;
    })));
    this.add("table", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = new PhMethod(rho, "ρ");
        ret_base = new PhLocated(ret_base, 61, 4);
      Phi ret = new PhMethod(ret_base, "rebuild");
        ret = new PhLocated(ret, 61, 5);
      ret = new PhCopy(ret);
        Phi ret_1 = new PhMethod(rho, "harr");
          ret_1 = new PhLocated(ret_1, 61, 14);
        Phi ret_2 = new PhMethod(rho, "arr");
          ret_2 = new PhLocated(ret_2, 61, 19);
        ret = new PhWith(ret, 0, ret_1);
        ret = new PhWith(ret, 1, ret_2);
      ret = new PhConst(ret);
      return ret;
    })));
    this.add("mmp", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("collections").get().attr("multimap").get();
        ret = new PhLocated(ret, 62, 4);
      ret = new PhCopy(ret);
        Phi ret_1 = new PhMethod(rho, "table");
          ret_1 = new PhLocated(ret_1, 62, 13);
        ret = new PhWith(ret, 0, ret_1);
      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, 63, 4);
      ret = new PhCopy(ret);
        Phi ret_1_base_base = new PhMethod(rho, "mmp");
          ret_1_base_base = new PhLocated(ret_1_base_base, 64, 7);
        Phi ret_1_base = new PhMethod(ret_1_base_base, "elements-amount");
          ret_1_base = new PhLocated(ret_1_base, 64, 10);
        Phi ret_1 = new PhMethod(ret_1_base, "write");
          ret_1 = new PhLocated(ret_1, 64, 27);
        ret_1 = new PhCopy(ret_1);
          Phi ret_1_1_base = new PhMethod(rho, "arr");
            ret_1_1_base = new PhLocated(ret_1_1_base, 64, 35);
          Phi ret_1_1 = new PhMethod(ret_1_1_base, "length");
            ret_1_1 = new PhLocated(ret_1_1, 64, 38);
          ret_1 = new PhWith(ret_1, 0, ret_1_1);
        Phi ret_2 = new PhMethod(rho, "mmp");
          ret_2 = new PhLocated(ret_2, 65, 6);
        ret = new PhWith(ret, 0, ret_1);
        ret = new PhWith(ret, 1, ret_2);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy