c

sbt.internal.util.complete

FixedSetExamples

sealed case class FixedSetExamples(examples: Iterable[String]) extends ExampleSource with Product with Serializable

A convenience example source that wraps any collection of strings into a source of examples.

examples

the examples that will be displayed to the user when they press the TAB key.

Linear Supertypes
Serializable, Serializable, Product, Equals, ExampleSource, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FixedSetExamples
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ExampleSource
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FixedSetExamples(examples: Iterable[String])

    examples

    the examples that will be displayed to the user when they press the TAB key.

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(): Iterable[String]

    returns

    a (possibly lazy) list of completion example strings. These strings are continuations of user's input. The user's input is incremented with calls to withAddedPrefix.

    Definition Classes
    FixedSetExamplesExampleSource
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. val examples: Iterable[String]
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. def withAddedPrefix(addedPrefix: String): ExampleSource

    addedPrefix

    a string that just typed in by the user.

    returns

    a new source of only those examples that start with the string typed by the user so far (with addition of the just added prefix).

    Definition Classes
    FixedSetExamplesExampleSource

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ExampleSource

Inherited from AnyRef

Inherited from Any

Ungrouped