trait Reference extends Spec
Mixes in the specification trait and uses the vals therein to side-effect private accumulators. From this emerges formatted help, lists of unary and binary arguments, an apply which can creates instances of the specification, and etc.
- Source
- Reference.scala
- See also
Instance
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Reference
- Spec
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type OptionMagic = Opt.Reference
- class SpecCommandLine extends CommandLine
- abstract type ThisCommandLine <: CommandLine
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Reference, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply(args: String*): ThisCommandLine
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def ensuring(cond: (Reference) ⇒ Boolean, msg: ⇒ Any): Reference
- def ensuring(cond: (Reference) ⇒ Boolean): Reference
- def ensuring(cond: Boolean, msg: ⇒ Any): Reference
- def ensuring(cond: Boolean): Reference
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def expandArg(arg: String): List[String]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
heading(str: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Spec
- def help(str: ⇒ String): Unit
- def helpMsg: String
- def isBinaryOption(s: String): Boolean
- def isExpandOption(s: String): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isUnaryOption(s: String): Boolean
-
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()
- implicit def optionMagicAdditions(name: String): Opt.Reference
- lazy val options: Accumulators
- def propertyArgs: List[String]
-
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): (Reference, B)
The Scala compiler and reflection APIs.