object TokensReader
- Alphabetic
- By Inheritance
- TokensReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait Class[T] extends TokensReader[T]
A TokensReader that can parse an instance of the class T, which may contain multiple fields each parsed by their own TokensReader
- trait Constant[T] extends Terminal[T]
A TokensReader that doesn't read any tokens and just returns a value.
A TokensReader that doesn't read any tokens and just returns a value. Useful sometimes for injecting things into main methods that aren't strictly computed from CLI argument tokens but nevertheless need to get passed in.
- trait Flag extends Terminal[mainargs.Flag]
A TokensReader for a flag that does not take any value, e.g.
A TokensReader for a flag that does not take any value, e.g.
--foo - trait Leftover[T, V] extends ShortNamed[T]
A TokensReader for parsing the left-over parameters that do not belong to any other flag or parameter.
- class LeftoverRead[T] extends Leftover[mainargs.Leftover[T], T]
- class MapRead[K, V] extends Simple[Map[K, V]]
- class OptionRead[T] extends Simple[Option[T]]
- class SeqRead[C[_] <: Iterable[_], T] extends Simple[C[T]]
- sealed trait ShortNamed[T] extends Terminal[T]
- trait Simple[T] extends ShortNamed[T]
A TokensReader for a single CLI parameter that takes a value e.g.
A TokensReader for a single CLI parameter that takes a value e.g.
--foo bar - sealed trait Terminal[T] extends TokensReader[T]
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
- implicit def LeftoverRead[T](implicit arg0: Simple[T]): Leftover[mainargs.Leftover[T], T]
- implicit def MapRead[K, V](implicit arg0: Simple[K], arg1: Simple[V]): TokensReader[Map[K, V]]
- implicit def OptionRead[T](implicit arg0: Simple[T]): TokensReader[Option[T]]
- implicit def SeqRead[C[_] <: Iterable[_], T](implicit arg0: Simple[T], factory: Factory[T, C[T]]): TokensReader[C[T]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): java.lang.Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryEither[T](f: => T): Either[String, T]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- implicit object BooleanRead extends Simple[Boolean]
- implicit object ByteRead extends Simple[Byte]
- implicit object DoubleRead extends Simple[Double]
- implicit object FlagRead extends Flag
- implicit object FloatRead extends Simple[Float]
- implicit object IntRead extends Simple[Int]
- implicit object LongRead extends Simple[Long]
- implicit object ShortRead extends Simple[Short]
- implicit object StringRead extends Simple[String]