scala.tools.nsc.interpreter

CompletionAware

trait CompletionAware extends AnyRef

An interface for objects which are aware of tab completion and will supply their own candidates and resolve their own paths.

Source
CompletionAware.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CompletionAware
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def completions(verbosity: Int): List[String]

    The complete list of unqualified Strings to which this object will complete.

Concrete 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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from CompletionAware to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (CompletionAware, B)

    Implicit information
    This member is added by an implicit conversion from CompletionAware to ArrowAssoc[CompletionAware] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. def alternativesFor(id: String): List[String]

    A list of useful information regarding a specific uniquely identified completion.

    A list of useful information regarding a specific uniquely identified completion. This is specifically written for the following situation, but should be useful elsewhere too:

    x.y.z.methodName<tab>

    If "methodName" is among z's completions, and verbosity > 0 indicating tab has been pressed twice consecutively, then we call alternativesFor and show a list of overloaded method signatures.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def completionsFor(parsed: Parsed): List[String]

    Given string 'buf', return a list of all the strings to which it can complete.

    Given string 'buf', return a list of all the strings to which it can complete. This may involve delegating to other CompletionAware objects.

  12. def ensuring(cond: (CompletionAware) ⇒ Boolean, msg: ⇒ Any): CompletionAware

    Implicit information
    This member is added by an implicit conversion from CompletionAware to Ensuring[CompletionAware] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (CompletionAware) ⇒ Boolean): CompletionAware

    Implicit information
    This member is added by an implicit conversion from CompletionAware to Ensuring[CompletionAware] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): CompletionAware

    Implicit information
    This member is added by an implicit conversion from CompletionAware to Ensuring[CompletionAware] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): CompletionAware

    Implicit information
    This member is added by an implicit conversion from CompletionAware to Ensuring[CompletionAware] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def execute(id: String): Option[Any]

    What to return if this completion is given as a command.

    What to return if this completion is given as a command. It returns None by default, which means to allow the repl to interpret the line normally. Returning Some(_) means the line will never reach the scala interpreter.

  19. def executionFor(parsed: Parsed): Option[Any]

    TODO - unify this and completionsFor under a common traverser.

  20. def filterNotFunction(s: String): Boolean

    Default filter to apply to completions.

  21. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. def follow(id: String): Option[CompletionAware]

    The next completor in the chain.

  23. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from CompletionAware to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def mapFunction(s: String): String

    Default map.

  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. val self: Any

    Implicit information
    This member is added by an implicit conversion from CompletionAware to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  32. val self: Any

    Implicit information
    This member is added by an implicit conversion from CompletionAware to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  33. def sortFunction(s1: String, s2: String): Boolean

    Default sort.

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

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. def [B](y: B): (CompletionAware, B)

    Implicit information
    This member is added by an implicit conversion from CompletionAware to ArrowAssoc[CompletionAware] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: CompletionAware

    Implicit information
    This member is added by an implicit conversion from CompletionAware to ArrowAssoc[CompletionAware] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: CompletionAware

    Implicit information
    This member is added by an implicit conversion from CompletionAware to Ensuring[CompletionAware] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from CompletionAware to StringFormat

Inherited by implicit conversion any2stringadd from CompletionAware to StringAdd

Inherited by implicit conversion any2ArrowAssoc from CompletionAware to ArrowAssoc[CompletionAware]

Inherited by implicit conversion any2Ensuring from CompletionAware to Ensuring[CompletionAware]