Module aya.cli.impl

Record Class CompilerFlags.PrettyInfo

java.lang.Object
java.lang.Record
org.aya.cli.single.CompilerFlags.PrettyInfo
Enclosing class:
CompilerFlags

public static record CompilerFlags.PrettyInfo(boolean ascii, boolean prettyNoCodeStyle, boolean prettyInlineCodeStyle, boolean prettySSR, CliEnums.PrettyStage prettyStage, CliEnums.PrettyFormat prettyFormat, @NotNull org.aya.util.prettier.PrettierOptions prettierOptions, @NotNull RenderOptions renderOptions, @Nullable String prettyDir) extends Record
  • Constructor Details

    • PrettyInfo

      public PrettyInfo(boolean ascii, boolean prettyNoCodeStyle, boolean prettyInlineCodeStyle, boolean prettySSR, @NotNull CliEnums.PrettyStage prettyStage, @NotNull CliEnums.PrettyFormat prettyFormat, @NotNull @NotNull org.aya.util.prettier.PrettierOptions prettierOptions, @NotNull @NotNull RenderOptions renderOptions, @Nullable @Nullable String prettyDir)
      Creates an instance of a PrettyInfo record class.
      Parameters:
      ascii - the value for the ascii record component
      prettyNoCodeStyle - the value for the prettyNoCodeStyle record component
      prettyInlineCodeStyle - the value for the prettyInlineCodeStyle record component
      prettySSR - the value for the prettySSR record component
      prettyStage - the value for the prettyStage record component
      prettyFormat - the value for the prettyFormat record component
      prettierOptions - the value for the prettierOptions record component
      renderOptions - the value for the renderOptions record component
      prettyDir - the value for the prettyDir record component
  • Method Details

    • renderOpts

      @NotNull public RenderOptions.Opts renderOpts(boolean headerCode)
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • ascii

      public boolean ascii()
      Returns the value of the ascii record component.
      Returns:
      the value of the ascii record component
    • prettyNoCodeStyle

      public boolean prettyNoCodeStyle()
      Returns the value of the prettyNoCodeStyle record component.
      Returns:
      the value of the prettyNoCodeStyle record component
    • prettyInlineCodeStyle

      public boolean prettyInlineCodeStyle()
      Returns the value of the prettyInlineCodeStyle record component.
      Returns:
      the value of the prettyInlineCodeStyle record component
    • prettySSR

      public boolean prettySSR()
      Returns the value of the prettySSR record component.
      Returns:
      the value of the prettySSR record component
    • prettyStage

      @NotNull public CliEnums.PrettyStage prettyStage()
      Returns the value of the prettyStage record component.
      Returns:
      the value of the prettyStage record component
    • prettyFormat

      @NotNull public CliEnums.PrettyFormat prettyFormat()
      Returns the value of the prettyFormat record component.
      Returns:
      the value of the prettyFormat record component
    • prettierOptions

      @NotNull public @NotNull org.aya.util.prettier.PrettierOptions prettierOptions()
      Returns the value of the prettierOptions record component.
      Returns:
      the value of the prettierOptions record component
    • renderOptions

      @NotNull public @NotNull RenderOptions renderOptions()
      Returns the value of the renderOptions record component.
      Returns:
      the value of the renderOptions record component
    • prettyDir

      @Nullable public @Nullable String prettyDir()
      Returns the value of the prettyDir record component.
      Returns:
      the value of the prettyDir record component