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

EOorg.EOeolang.EOmath.EOnumber$EOmod$EOabs_mod Maven / Gradle / Ivy

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

package EOorg.EOeolang.EOmath;

import org.eolang.*;

//  
//    
//      
//       
//     
//   
//    
//      
//       
//     
//   
//    
//     
//      
//       
//        
//         
//         
//       
//     
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "number$mod$abs-mod", oname = "abs-mod", source = "/home/r/repo/target/eo/04-pull/org/eolang/math/number.eo")
public final class EOnumber$EOmod$EOabs_mod extends PhDefault {
  public EOnumber$EOmod$EOabs_mod(final Phi sigma) {
    super(sigma);
    this.add("int-abs", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = Phi.Φ.attr("org").get().attr("eolang").get().attr("math").get().attr("number").get();
        ret_base = new PhLocated(ret_base, 136, 7);
      ret_base = new PhCopy(ret_base);
        Phi ret_base_1 = new PhMethod(new PhMethod(rho, "σ"), "dividend");
          ret_base_1 = new PhLocated(ret_base_1, 136, 14);
        ret_base = new PhWith(ret_base, 0, ret_base_1);
      Phi ret = new PhMethod(ret_base, "abs");
        ret = new PhLocated(ret, 136, 23);
      return ret;
    })));
    this.add("x-abs", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = Phi.Φ.attr("org").get().attr("eolang").get().attr("math").get().attr("number").get();
        ret_base = new PhLocated(ret_base, 137, 7);
      ret_base = new PhCopy(ret_base);
        Phi ret_base_1 = new PhMethod(new PhMethod(rho, "σ"), "divisor");
          ret_base_1 = new PhLocated(ret_base_1, 137, 14);
        ret_base = new PhWith(ret_base, 0, ret_base_1);
      Phi ret = new PhMethod(ret_base, "abs");
        ret = new PhLocated(ret, 137, 22);
      return ret;
    })));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = new PhMethod(rho, "int-abs");
        ret_base = new PhLocated(ret_base, 139, 8);
      Phi ret = new PhMethod(ret_base, "minus");
        ret = new PhLocated(ret, 138, 6);
      ret = new PhCopy(ret);
        Phi ret_1_base = new PhMethod(rho, "x-abs");
          ret_1_base = new PhLocated(ret_1_base, 140, 8);
        Phi ret_1 = new PhMethod(ret_1_base, "times");
          ret_1 = new PhLocated(ret_1, 140, 13);
        ret_1 = new PhCopy(ret_1);
          Phi ret_1_1_base = new PhMethod(rho, "int-abs");
            ret_1_1_base = new PhLocated(ret_1_1_base, 141, 10);
          Phi ret_1_1 = new PhMethod(ret_1_1_base, "div");
            ret_1_1 = new PhLocated(ret_1_1, 141, 17);
          ret_1_1 = new PhCopy(ret_1_1);
            Phi ret_1_1_1 = new PhMethod(rho, "x-abs");
              ret_1_1_1 = new PhLocated(ret_1_1_1, 141, 22);
            ret_1_1 = new PhWith(ret_1_1, 0, ret_1_1_1);
          ret_1 = new PhWith(ret_1, 0, ret_1_1);
        ret = new PhWith(ret, 0, ret_1);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy