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. Hide All
  2. Show all
  1. ProductCompletion
  2. CompletionAware
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProductCompletion (root: Product)

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. 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
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. lazy val caseFields : List[Any]

  9. lazy val caseNames : List[String]

  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. 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
  12. lazy val completions : List[String]

  13. 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
  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. 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
  17. 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
  18. def filterNotFunction (s: String): Boolean

    Default filter to apply to completions.

    Default filter to apply to completions.

    Definition Classes
    CompletionAware
  19. def finalize (): Unit

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

    The next completor in the chain.

    The next completor in the chain.

    Definition Classes
    ProductCompletionCompletionAware
  21. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  22. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  24. def mapFunction (s: String): String

    Default map.

    Default map.

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

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def sortFunction (s1: String, s2: String): Boolean

    Default sort.

    Default sort.

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

    Attributes
    final
    Definition Classes
    AnyRef
  30. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from CompletionAware

Inherited from AnyRef

Inherited from Any