Module aya.cli.impl

Class CompilerUtil

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

public class CompilerUtil extends Object
  • 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 kala.collection.immutable.ImmutableSeq<org.aya.syntax.core.def.TyckDef> defs, @NotNull @NotNull org.aya.resolve.ResolveInfo resolveInfo) throws IOException
      Throws:
      IOException
    • handleInternalError

      public static void handleInternalError(@NotNull @NotNull org.aya.util.error.Panic e)