org.kynthus.hatalib.core.concept

Argument

trait Argument[Derived] extends Any

特定の型がコマンドライン引数へ変換可能であることを表します。

このトレイトは型クラスとなっており、例えばscala.Intを変換元として受け取り、 結果をscala.Predef.Stringのシーケンスとする場合は、例に示すような型クラスインスタンスを定義します。

Derived

コマンドライン引数へ変換する型

Annotations
@implicitNotFound( ... )
Version

1.0.0

Since

1.0.0

Linear Supertypes
Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Argument
  2. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Result

    コマンドライン引数への変換後に生成されるべき型です。

    コマンドライン引数への変換後に生成されるべき型です。

    Version

    1.0.0

    Since

    1.0.0

Abstract Value Members

  1. abstract def apply(derived: ⇒ Derived): Result

    引数の値をコマンドライン引数へ変換して返します。

    引数の値をコマンドライン引数へ変換して返します。

    derived

    コマンドライン引数へ変換する値

    returns

    コマンドライン引数へ変換した値

    Version

    1.0.0

    Since

    1.0.0

  2. abstract def getClass(): Class[_]

    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean

    Definition Classes
    Any
  6. def hashCode(): Int

    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  8. def toString(): String

    Definition Classes
    Any

Inherited from Any

Ungrouped