class Instance extends Implicit with Error
- Source
- Opt.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Instance
- Error
- Implicit
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Instance(programInfo: Info, parsed: CommandLine, name: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def -->(body: ⇒ Unit): Boolean
- def --?: Boolean
- def --^[T](implicit arg0: FromString[T]): Option[T]
- def --|: Option[String]
- def ->[B](y: B): (Instance, B)
-
def
/(descr: String): String
Help.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def choiceOf[T](choices: T*)(implicit arg0: FromString[T]): Option[T]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
defaultTo[T](default: T)(implicit arg0: FromString[T]): T
Names.
- def defaultToEnv(envVar: String): String
- def ensuring(cond: (Instance) ⇒ Boolean, msg: ⇒ Any): Instance
- def ensuring(cond: (Instance) ⇒ Boolean): Instance
- def ensuring(cond: Boolean, msg: ⇒ Any): Instance
- def ensuring(cond: Boolean): Instance
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def expandTo(args: String*): Unit
-
def
fail(msg: String): Nothing
- Attributes
- protected
- Definition Classes
- Error
-
def
failOption(arg: String, why: String): Nothing
- Attributes
- protected
- Definition Classes
- Error
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
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()
-
def
opt: String
- Attributes
- protected
- Definition Classes
- Implicit
-
def
optMap[T](f: (String) ⇒ T): Option[T]
- Definition Classes
- Implicit
- val parsed: CommandLine
- val programInfo: Info
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def →[B](y: B): (Instance, B)
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Instance to StringFormat[Instance] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.