sbt.complete

ParserMain

trait ParserMain extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ParserMain
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

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

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def apply[T](p: Parser[T])(s: String): Parser[T]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def charClass(f: (Char) ⇒ Boolean, label: String = "<unspecified>"): Parser[Char]

  9. def chars(legal: String): Parser[Char]

  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def completions(p: sbt.complete.Parser[_], s: String, level: Int): Completions

  12. def derive1[T](p: Parser[T], c: Char): Parser[T]

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def examples[A](a: Parser[A], completions: Set[String], check: Boolean): Parser[A]

  16. def failure(msg: ⇒ String): Parser[Nothing]

  17. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def homParser[A](a: Parser[A], b: Parser[A]): Parser[A]

  21. def invalid(msgs: ⇒ Seq[String]): Parser[Nothing]

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. implicit def literal(s: String): Parser[String]

  24. implicit def literal(ch: Char): Parser[Char]

  25. implicit def literalRichCharParser(c: Char): RichParser[Char]

  26. implicit def literalRichStringParser(s: String): RichParser[String]

  27. def matched(t: sbt.complete.Parser[_], seen: Vector[Char] = Vector.empty, partial: Boolean = false): Parser[String]

  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. def not(p: sbt.complete.Parser[_]): Parser[Unit]

  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def oneOf[T](p: Seq[Parser[T]]): Parser[T]

  33. def parse[T](str: String, parser: Parser[T]): Either[String, T]

  34. implicit def range(r: NumericRange[Char]): Parser[Char]

  35. def result[T](p: Parser[T], s: String): Either[() ⇒ (Seq[String], Int), T]

  36. implicit def richParser[A](a: Parser[A]): RichParser[A]

  37. def sample(str: String, parser: sbt.complete.Parser[_], completions: Boolean = false): Unit

  38. def sampleCompletions(str: String, parser: sbt.complete.Parser[_], level: Int = 1): Unit

  39. def sampleParse(str: String, parser: sbt.complete.Parser[_]): Unit

  40. def seq[T](p: Seq[Parser[T]]): Parser[Seq[T]]

  41. def seq0[T](p: Seq[Parser[T]], errors: ⇒ Seq[String]): Parser[Seq[T]]

  42. def stringLiteral(s: String, start: Int): Parser[String]

  43. def success[T](value: T): Parser[T]

  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    AnyRef → Any
  46. def token[T](t: Parser[T], complete: TokenCompletions): Parser[T]

  47. def token[T](t: Parser[T], description: String): Parser[T]

    Establishes delegate parser t as a single token of tab completion.

    Establishes delegate parser t as a single token of tab completion. When tab completion of part of this token is requested, description is displayed for suggestions and no completions are ever performed.

  48. def token[T](t: Parser[T], hide: (Int) ⇒ Boolean): Parser[T]

    Establishes delegate parser t as a single token of tab completion.

    Establishes delegate parser t as a single token of tab completion. When tab completion of part of this token is requested, no completions are returned if hide returns true for the current tab completion level. Otherwise, the completions provided by the delegate t or a later derivative are appended to the prefix String already seen by this parser.

  49. def token[T](t: Parser[T]): Parser[T]

    Establishes delegate parser t as a single token of tab completion.

    Establishes delegate parser t as a single token of tab completion. When tab completion of part of this token is requested, the completions provided by the delegate t or a later derivative are appended to the prefix String already seen by this parser.

  50. def tokenDisplay[T](t: Parser[T], display: String): Parser[T]

    Establishes delegate parser t as a single token of tab completion.

    Establishes delegate parser t as a single token of tab completion. When tab completion of part of this token is requested, display is used as the printed suggestion, but the completions from the delegate parser t are used to complete if unambiguous.

  51. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  52. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  53. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  54. object ~ extends AnyRef

Deprecated Value Members

  1. def token[T](t: Parser[T], seen: String, track: Boolean, hide: (Int) ⇒ Boolean): Parser[T]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.1) Use a different token overload.

Inherited from AnyRef

Inherited from Any