t

firrtl.options

DuplicateHandling

trait DuplicateHandling extends OptionParser[AnnotationSeq]

A modified OptionParser with mutable termination and additional checks

Source
OptionParser.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DuplicateHandling
  2. OptionParser
  3. OptionDefCallback
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DuplicateHandling toany2stringadd[DuplicateHandling] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DuplicateHandling, B)
    Implicit
    This member is added by an implicit conversion from DuplicateHandling toArrowAssoc[DuplicateHandling] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def arg[A](name: String)(implicit arg0: Read[A]): OptionDef[A, AnnotationSeq]
    Definition Classes
    OptionParser
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def checkConfig(f: (AnnotationSeq) => Either[String, Unit]): OptionDef[Unit, AnnotationSeq]
    Definition Classes
    OptionParser
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def cmd(name: String): OptionDef[Unit, AnnotationSeq]
    Definition Classes
    OptionParser
  11. def displayToErr(msg: String): Unit
    Definition Classes
    OptionParser
  12. def displayToOut(msg: String): Unit
    Definition Classes
    OptionParser
  13. def ensuring(cond: (DuplicateHandling) => Boolean, msg: => Any): DuplicateHandling
    Implicit
    This member is added by an implicit conversion from DuplicateHandling toEnsuring[DuplicateHandling] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (DuplicateHandling) => Boolean): DuplicateHandling
    Implicit
    This member is added by an implicit conversion from DuplicateHandling toEnsuring[DuplicateHandling] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): DuplicateHandling
    Implicit
    This member is added by an implicit conversion from DuplicateHandling toEnsuring[DuplicateHandling] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): DuplicateHandling
    Implicit
    This member is added by an implicit conversion from DuplicateHandling toEnsuring[DuplicateHandling] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def errorOnUnknownArgument: Boolean
    Definition Classes
    OptionParser
  20. def failure(msg: String): Either[String, Unit]
    Definition Classes
    OptionParser
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def head(xs: String*): OptionDef[Unit, AnnotationSeq]
    Definition Classes
    OptionParser
  25. def header: String
    Definition Classes
    OptionParser
  26. def help(x: Char, name: String): OptionDef[Unit, AnnotationSeq]
    Definition Classes
    OptionParser
  27. def help(name: String): OptionDef[Unit, AnnotationSeq]
    Definition Classes
    OptionParser
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def makeDef[A](kind: OptionDefKind, name: String)(implicit arg0: Read[A]): OptionDef[A, AnnotationSeq]
    Attributes
    protected
    Definition Classes
    OptionParser
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def note(x: String): OptionDef[Unit, AnnotationSeq]
    Definition Classes
    OptionParser
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def opt[A](x: Char, name: String)(implicit arg0: Read[A]): OptionDef[A, AnnotationSeq]
    Definition Classes
    OptionParser
  35. def opt[A](name: String)(implicit arg0: Read[A]): OptionDef[A, AnnotationSeq]
    Definition Classes
    OptionParser
  36. val options: ListBuffer[OptionDef[_, AnnotationSeq]]
    Attributes
    protected
    Definition Classes
    OptionParser
  37. def parse(args: Seq[String], init: AnnotationSeq): Option[AnnotationSeq]
    Definition Classes
    DuplicateHandling → OptionParser
  38. def renderingMode: RenderingMode
    Definition Classes
    OptionParser
  39. def reportError(msg: String): Unit
    Definition Classes
    OptionParser
  40. def reportWarning(msg: String): Unit
    Definition Classes
    OptionParser
  41. def showUsageOnError: Option[Boolean]
    Definition Classes
    OptionParser
  42. def success: Either[String, Unit]
    Definition Classes
    OptionParser
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def terminate(exitState: Either[String, Unit]): Unit
    Definition Classes
    OptionParser
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. def usage: String
    Definition Classes
    OptionParser
  47. def version(x: Char, name: String): OptionDef[Unit, AnnotationSeq]
    Definition Classes
    OptionParser
  48. def version(name: String): OptionDef[Unit, AnnotationSeq]
    Definition Classes
    OptionParser
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DuplicateHandling toStringFormat[DuplicateHandling] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def [B](y: B): (DuplicateHandling, B)
    Implicit
    This member is added by an implicit conversion from DuplicateHandling toArrowAssoc[DuplicateHandling] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from OptionParser[AnnotationSeq]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromDuplicateHandling to any2stringadd[DuplicateHandling]

Inherited by implicit conversion StringFormat fromDuplicateHandling to StringFormat[DuplicateHandling]

Inherited by implicit conversion Ensuring fromDuplicateHandling to Ensuring[DuplicateHandling]

Inherited by implicit conversion ArrowAssoc fromDuplicateHandling to ArrowAssoc[DuplicateHandling]

Ungrouped