scala.tools.nsc.util

CommandLine

case class CommandLine (args: List[String], unaryArguments: List[String], binaryArguments: List[String]) extends Product with Serializable

Source
CommandLineParser.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. CommandLine
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CommandLine (line: String)

  2. new CommandLine (args: Array[String])

  3. new CommandLine (args: List[String])

  4. new CommandLine (args: List[String], unaryArguments: List[String], binaryArguments: List[String])

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. val Terminator : String

  7. val ValueForUnaryOption : String

  8. def apply (arg: String): String

  9. lazy val argMap : Map[String, String]

    argMap is option -> argument (or "" if it is a unary argument) residualArgs are what is left after removing the options and their args.

  10. val args : List[String]

  11. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  12. def assumeBinary : Boolean

  13. val binaryArguments : List[String]

  14. def canEqual (arg0: Any): Boolean

    Definition Classes
    CommandLine → Equals
  15. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def enforceArity : Boolean

  17. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  18. def equals (arg0: Any): Boolean

    Definition Classes
    CommandLine → Equals → AnyRef → Any
  19. def errorFn (msg: String): Unit

  20. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def get (arg: String): Option[String]

  22. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  23. def getOrElse (arg: String, orElse: ⇒ String): String

  24. def hashCode (): Int

    Definition Classes
    CommandLine → AnyRef → Any
  25. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  26. def isSet (arg: String): Boolean

  27. def mapForUnary (opt: String): Map[String, String]

  28. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  29. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  31. def onlyKnownOptions : Boolean

  32. def originalArgs : List[String]

  33. def productArity : Int

    Definition Classes
    CommandLine → Product
  34. def productElement (arg0: Int): Any

    Definition Classes
    CommandLine → Product
  35. def productIterator : Iterator[Any]

    Definition Classes
    Product
  36. def productPrefix : String

    Definition Classes
    CommandLine → Product
  37. lazy val residualArgs : List[String]

    argMap is option -> argument (or "" if it is a unary argument) residualArgs are what is left after removing the options and their args.

  38. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  39. def toString (): String

    Definition Classes
    CommandLine → AnyRef → Any
  40. val unaryArguments : List[String]

  41. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  42. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  43. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  44. def withBinaryArgs (xs: List[String]): CommandLine

  45. def withUnaryArgs (xs: List[String]): CommandLine

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any