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

EOorg.EOeolang.EOswitch$EOarr$EOt0$EOa2 Maven / Gradle / Ivy

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

package EOorg.EOeolang;

import org.eolang.*;

//  
//   
//   
//    
//      
//       
//       0
//     
//      
//       
//        
//         
//         1
//       
//     
//     
//   
//   
// 
@XmirObject(name = "switch$arr$t0$a2", oname = "switch$arr$t0$a2", source = "/home/r/repo/target/eo/04-pull/org/eolang/switch.eo")
public final class EOswitch$EOarr$EOt0$EOa2 extends PhDefault {
  public EOswitch$EOarr$EOt0$EOa2(final Phi sigma) {
    super(sigma);
    this.add("acc", new AtFree(/* default */));
    this.add("case", new AtFree(/* default */));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base_base = new PhMethod(rho, "case");
        ret_base_base = new PhLocated(ret_base_base, 59, 18);
      Phi ret_base = new PhMethod(ret_base_base, "at");
        ret_base = new PhLocated(ret_base, 59, 22);
      ret_base = new PhCopy(ret_base);
        Phi ret_base_1 = new EOorg.EOeolang.EOint(Phi.Φ);
          ret_base_1 = new PhLocated(ret_base_1, 59, 26);
          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, 58, 16);
      ret = new PhCopy(ret);
        Phi ret_1_base = new PhMethod(rho, "acc");
          ret_1_base = new PhLocated(ret_1_base, 60, 18);
        Phi ret_1 = new PhMethod(ret_1_base, "with");
          ret_1 = new PhLocated(ret_1, 60, 21);
        ret_1 = new PhCopy(ret_1);
          Phi ret_1_1_base = new PhMethod(rho, "case");
            ret_1_1_base = new PhLocated(ret_1_1_base, 60, 28);
          Phi ret_1_1 = new PhMethod(ret_1_1_base, "at");
            ret_1_1 = new PhLocated(ret_1_1, 60, 32);
          ret_1_1 = new PhCopy(ret_1_1);
            Phi ret_1_1_1 = new EOorg.EOeolang.EOint(Phi.Φ);
              ret_1_1_1 = new PhLocated(ret_1_1_1, 60, 36);
              ret_1_1_1 = new PhWith(ret_1_1_1, "Δ", new Data.Value(1L));
            ret_1_1 = new PhWith(ret_1_1, 0, ret_1_1_1);
          ret_1 = new PhWith(ret_1, 0, ret_1_1);
        Phi ret_2 = new PhMethod(rho, "acc");
          ret_2 = new PhLocated(ret_2, 61, 18);
        ret = new PhWith(ret, 0, ret_1);
        ret = new PhWith(ret, 1, ret_2);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy