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

EOorg.EOeolang.EOfloat$EOminus Maven / Gradle / Ivy

/*
 * This file was auto-generated by eolang-maven-plugin
 * on 2022-07-25T15:16:22.225Z. 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:48.585243Z by the compiler v.0.24.0.
 */

package EOorg.EOeolang;

import org.eolang.*;

//  
//   
//    
//      
//        
//         
//       
//        
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//         
//       
//     
//   
//    
//     
//     
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "float$minus", oname = "minus", source = "/home/r/repo/target/eo/04-pull/org/eolang/float.eo")
public final class EOfloat$EOminus extends PhDefault {
  public EOfloat$EOminus(final Phi sigma) {
    super(sigma);
    this.add("x", new AtVararg(/* default */));
    this.add("x-neg", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base_base = Phi.Φ.attr("org").get().attr("eolang").get().attr("collections").get().attr("list").get();
        ret_base_base = new PhLocated(ret_base_base, 71, 8);
      ret_base_base = new PhCopy(ret_base_base);
        Phi ret_base_base_1 = new PhMethod(rho, "x");
          ret_base_base_1 = new PhLocated(ret_base_base_1, 72, 10);
        ret_base_base = new PhWith(ret_base_base, 0, ret_base_base_1);
      Phi ret_base = new PhMethod(ret_base_base, "map");
        ret_base = new PhLocated(ret_base, 70, 6);
      ret_base = new PhCopy(ret_base);
        Phi ret_base_1 = new EOfloat$EOminus$EOt1$EOt0$EOa1(rho);
          ret_base_1 = new PhLocated(ret_base_1, 73, 8);
        ret_base = new PhWith(ret_base, 0, ret_base_1);
      Phi ret = new PhMethod(ret_base, "as-array");
        ret = new PhLocated(ret, 69, 4);
      return ret;
    })));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = new PhMethod(rho, "ρ");
        ret_base = new PhLocated(ret_base, 76, 4);
      Phi ret = new PhMethod(ret_base, "plus");
        ret = new PhLocated(ret, 76, 5);
      ret = new PhCopy(ret);
        Phi ret_1 = new PhMethod(rho, "x-neg");
          ret_1 = new PhLocated(ret_1, 77, 6);
        ret_1 = new PhUnvar(ret_1);
        ret = new PhWith(ret, 0, ret_1);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy