object ArgSig
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ArgSig
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class Class[T, B](reader: ClassMains[T]) extends ArgSig[T, B] with Product with Serializable
- case class Flag[B](name: Option[String], shortName: Option[Char], doc: Option[String]) extends Named[mainargs.Flag, B] with Product with Serializable
- case class Leftover[T, B](name0: String, doc: Option[String], reader: TokensReader[T]) extends Terminal[T, B] with Product with Serializable
- sealed trait Named[T, B] extends Terminal[T, B]
- case class Simple[T, B](name: Option[String], shortName: Option[Char], doc: Option[String], default: Option[(B) => T], reader: TokensReader[T]) extends Named[T, B] with Product with Serializable
Models what is known by the router about a single argument: that it has a name, a human-readable typeString describing what the type is (just for logging and reading, not a replacement for a
TypeTag
) and possible a function that can compute its default value - sealed trait Terminal[T, B] extends ArgSig[T, B]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def create[T, B](name0: String, arg: arg, defaultOpt: Option[(B) => T])(implicit argParser: ArgReader[T]): ArgSig[T, B]
- def createVararg[T, B](name0: String, arg: arg)(implicit argParser: ArgReader.Leftover[T]): Leftover[T, B]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def flatten[T, B](x: ArgSig[T, B]): Seq[Terminal[T, B]]
- final def getClass(): java.lang.Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.