Enum Class Option.CompilerMode

java.lang.Object
java.lang.Enum<Option.CompilerMode>
simula.compiler.utilities.Option.CompilerMode
All Implemented Interfaces:
Serializable, Comparable<Option.CompilerMode>, Constable
Enclosing class:
Option

public static enum Option.CompilerMode extends Enum<Option.CompilerMode>
The Compiler Modes.
Author:
Øystein Myhre Andersen
  • Enum Constant Details

    • viaJavaSource

      public static final Option.CompilerMode viaJavaSource
      Generate Java source and use Java compiler to generate JavaClass files.
    • directClassFiles

      public static final Option.CompilerMode directClassFiles
      Generate JavaClass files directly. No Java source files are generated.
    • simulaClassLoader

      public static final Option.CompilerMode simulaClassLoader
      Generate ClassFile byte array and load it directly. No intermediate files are created.
  • Constructor Details

    • CompilerMode

      private CompilerMode()
  • Method Details

    • values

      public static Option.CompilerMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Option.CompilerMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null