object
Command extends AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
-
def
apply[T](name: String, briefHelp: (String, String), detail: String)(parser: (State) ⇒ Parser[T])(effect: (State, T) ⇒ State): Command
-
def
applyEffect[T](p: Parser[T])(f: (T) ⇒ State): Parser[() ⇒ State]
-
-
-
def
args(name: String, display: String, help: Help = Help.empty)(f: (State, Seq[String]) ⇒ State): Command
-
def
args(name: String, briefHelp: (String, String), detail: String, display: String)(f: (State, Seq[String]) ⇒ State): Command
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
command(name: String, briefHelp: String, detail: String)(f: (State) ⇒ State): Command
-
-
-
def
distance(a: String, b: String): Int
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): java.lang.Class[_]
-
def
hashCode(): Int
-
def
invalidValue(label: String, allowed: Iterable[String])(value: String): String
-
final
def
isInstanceOf[T0]: Boolean
-
-
def
make(name: String, briefHelp: (String, String), detail: String)(parser: (State) ⇒ Parser[() ⇒ State]): Command
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
process(command: String, state: State): State
-
def
similar(value: String, allowed: Iterable[String]): String
-
def
simpleParser(commandMap: Map[String, (State) ⇒ Parser[() ⇒ State]]): (State) ⇒ Parser[() ⇒ State]
-
def
simpleParser(cmds: Seq[SimpleCommand]): (State) ⇒ Parser[() ⇒ State]
-
-
def
single(name: String, briefHelp: (String, String), detail: String)(f: (State, String) ⇒ State): Command
-
def
spacedAny(name: String): Parser[String]
-
def
spacedC(name: String, c: Parser[Char]): Parser[String]
-
def
suggestions(a: String, bs: Seq[String], maxDistance: Int = 3, maxSuggestions: Int = 3): Seq[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
validID(name: String): Boolean
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any