object TokensReader

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TokensReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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

  2. 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.

  3. 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

  4. 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.

  5. class LeftoverRead[T] extends Leftover[mainargs.Leftover[T], T]
  6. class MapRead[K, V] extends Simple[Map[K, V]]
  7. class OptionRead[T] extends Simple[Option[T]]
  8. class SeqRead[C[_] <: Iterable[_], T] extends Simple[C[T]]
  9. sealed trait ShortNamed[T] extends Terminal[T]
  10. 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

  11. sealed trait Terminal[T] extends TokensReader[T]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def LeftoverRead[T](implicit arg0: Simple[T]): Leftover[mainargs.Leftover[T], T]
  5. implicit def MapRead[K, V](implicit arg0: Simple[K], arg1: Simple[V]): TokensReader[Map[K, V]]
  6. implicit def OptionRead[T](implicit arg0: Simple[T]): TokensReader[Option[T]]
  7. implicit def SeqRead[C[_] <: Iterable[_], T](implicit arg0: Simple[T], factory: Factory[T, C[T]]): TokensReader[C[T]]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): java.lang.Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def tryEither[T](f: => T): Either[String, T]
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. implicit object BooleanRead extends Simple[Boolean]
  26. implicit object ByteRead extends Simple[Byte]
  27. implicit object DoubleRead extends Simple[Double]
  28. implicit object FlagRead extends Flag
  29. implicit object FloatRead extends Simple[Float]
  30. implicit object IntRead extends Simple[Int]
  31. implicit object LongRead extends Simple[Long]
  32. implicit object ShortRead extends Simple[Short]
  33. implicit object StringRead extends Simple[String]

Inherited from AnyRef

Inherited from Any

Ungrouped