scala.tools.nsc.interpreter

ProductCompletion

class ProductCompletion extends CompletionAware

TODO - deal with non-case products by giving them _1 _2 etc.

Source
ProductCompletion.scala
Linear Supertypes
CompletionAware, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProductCompletion
  2. CompletionAware
  3. AnyRef
  4. 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

Instance Constructors

  1. new ProductCompletion(root: Product)

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 ProductCompletion to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ProductCompletion, B)

    Implicit information
    This member is added by an implicit conversion from ProductCompletion to ArrowAssoc[ProductCompletion] 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.

    Definition Classes
    CompletionAware
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. lazy val caseFields: List[Any]

  11. lazy val caseNames: List[String]

  12. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def completions(verbosity: Int): List[String]

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

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

    Definition Classes
    ProductCompletionCompletionAware
  14. lazy val completions: List[String]

  15. 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.

    Definition Classes
    CompletionAware
  16. def ensuring(cond: (ProductCompletion) ⇒ Boolean, msg: ⇒ Any): ProductCompletion

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  22. def execute(name: 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.

    Definition Classes
    ProductCompletionCompletionAware
  23. def executionFor(parsed: Parsed): Option[Any]

    TODO - unify this and completionsFor under a common traverser.

    TODO - unify this and completionsFor under a common traverser.

    Definition Classes
    CompletionAware
  24. def filterNotFunction(s: String): Boolean

    Default filter to apply to completions.

    Default filter to apply to completions.

    Definition Classes
    CompletionAware
  25. def finalize(): Unit

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

    The next completor in the chain.

    The next completor in the chain.

    Definition Classes
    ProductCompletionCompletionAware
  27. def formatted(fmtstr: String): String

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

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

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

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

    Default map.

    Default map.

    Definition Classes
    CompletionAware
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. val self: Any

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

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

    Default sort.

    Default sort.

    Definition Classes
    CompletionAware
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

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

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

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

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

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

Deprecated Value Members

  1. def x: ProductCompletion

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

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ProductCompletion

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

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from CompletionAware

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from ProductCompletion to StringFormat

Inherited by implicit conversion any2stringadd from ProductCompletion to StringAdd

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

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