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

EOorg.EOeolang.EObool$EOas_bytes Maven / Gradle / Ivy

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

package EOorg.EOeolang;

import org.eolang.*;

//  
//    
//     
//     01
//     00
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "bool$as-bytes", oname = "as-bytes", source = "/home/r/repo/target/eo/04-pull/org/eolang/bool.eo")
public final class EObool$EOas_bytes extends PhDefault {
  public EObool$EOas_bytes(final Phi sigma) {
    super(sigma);
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = new PhMethod(rho, "ρ");
        ret_base = new PhLocated(ret_base, 59, 6);
      Phi ret = new PhMethod(ret_base, "if");
        ret = new PhLocated(ret, 58, 4);
      ret = new PhCopy(ret);
        Phi ret_1 = new EOorg.EOeolang.EObytes(Phi.Φ);
          ret_1 = new PhLocated(ret_1, 60, 6);
          ret_1 = new PhWith(ret_1, "Δ", new Data.Value(new byte[] {(byte) 0x01}));
        Phi ret_2 = new EOorg.EOeolang.EObytes(Phi.Φ);
          ret_2 = new PhLocated(ret_2, 61, 6);
          ret_2 = new PhWith(ret_2, "Δ", new Data.Value(new byte[] {(byte) 0x00}));
        ret = new PhWith(ret, 0, ret_1);
        ret = new PhWith(ret, 1, ret_2);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy