Packages

object Command

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

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. def apply[T](name: String, briefHelp: (String, String), detail: String)(parser: (State) ⇒ Parser[T])(effect: (State, T) ⇒ State): Command
  5. def apply[T](name: String, help: Help = Help.empty)(parser: (State) ⇒ Parser[T])(effect: (State, T) ⇒ State): Command

    Construct a command with the given name, parser and effect.

  6. def applyEffect[T](parser: (State) ⇒ Parser[T])(effect: (State, T) ⇒ State): (State) ⇒ Parser[() ⇒ State]
  7. def applyEffect[T](p: Parser[T])(f: (T) ⇒ State): Parser[() ⇒ State]
  8. def arb[T](parser: (State) ⇒ Parser[T], help: Help = Help.empty)(effect: (State, T) ⇒ State): Command
  9. def args(name: String, briefHelp: (String, String), detail: String, display: String)(f: (State, Seq[String]) ⇒ State): Command
  10. def args(name: String, display: String, help: Help = Help.empty)(f: (State, Seq[String]) ⇒ State): Command

    Construct a multi-argument command with the given name, tab completion display and effect.

  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def combine(cmds: Seq[Command]): (State) ⇒ Parser[() ⇒ State]
  14. def command(name: String, briefHelp: String, detail: String)(f: (State) ⇒ State): Command
  15. def command(name: String, help: Help = Help.empty)(f: (State) ⇒ State): Command

    Construct a no-argument command with the given name and effect.

  16. def custom(parser: (State) ⇒ Parser[() ⇒ State], help: Help = Help.empty): Command
  17. def customHelp(parser: (State) ⇒ Parser[() ⇒ State], help: (State) ⇒ Help): Command
  18. def distance(a: String, b: String): Int
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  24. def invalidValue(label: String, allowed: Iterable[String])(value: String): String
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def make(name: String, briefHelp: (String, String), detail: String)(parser: (State) ⇒ Parser[() ⇒ State]): Command
  27. def make(name: String, help: Help = Help.empty)(parser: (State) ⇒ Parser[() ⇒ State]): Command
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  31. def similar(value: String, allowed: Iterable[String]): String
  32. def simpleParser(commandMap: Map[String, (State) ⇒ Parser[() ⇒ State]]): (State) ⇒ Parser[() ⇒ State]
  33. def simpleParser(cmds: Seq[SimpleCommand]): (State) ⇒ Parser[() ⇒ State]
  34. def single(name: String, briefHelp: (String, String), detail: String)(f: (State, String) ⇒ State): Command
  35. def single(name: String, help: Help = Help.empty)(f: (State, String) ⇒ State): Command

    Construct a single-argument command with the given name and effect.

  36. def spacedAny(name: String): Parser[String]
  37. def spacedC(name: String, c: Parser[Char]): Parser[String]
  38. def suggestions(a: String, bs: Seq[String], maxDistance: Int = 3, maxSuggestions: Int = 3): Seq[String]
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def validID(name: String): Boolean
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped