Module aya.cli.impl

Class CompilerUtil

java.lang.Object
org.aya.cli.utils.CompilerUtil

public class CompilerUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    catching(@NotNull org.aya.util.reporter.CountingReporter reporter, @NotNull CompilerFlags flags, @NotNull kala.function.CheckedRunnable<IOException> block)
     
    static void
    saveCompiledCore(@NotNull Path coreFile, @NotNull org.aya.resolve.ResolveInfo resolveInfo, @NotNull kala.collection.immutable.ImmutableSeq<org.aya.core.def.GenericDef> defs, org.aya.core.serde.Serializer.State state)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CompilerUtil

      public CompilerUtil()
  • Method Details

    • catching

      public static int catching(@NotNull @NotNull org.aya.util.reporter.CountingReporter reporter, @NotNull @NotNull CompilerFlags flags, @NotNull @NotNull kala.function.CheckedRunnable<IOException> block) throws IOException
      Throws:
      IOException
    • saveCompiledCore

      public static void saveCompiledCore(@NotNull @NotNull Path coreFile, @NotNull @NotNull org.aya.resolve.ResolveInfo resolveInfo, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<org.aya.core.def.GenericDef> defs, @NotNull org.aya.core.serde.Serializer.State state) throws IOException
      Throws:
      IOException