Trait

scala.meta.internal.pc.completions

MatchCaseCompletions

Related Doc: package completions

Permalink

trait MatchCaseCompletions extends AnyRef

Self Type
MetalsGlobal
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MatchCaseCompletions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class CaseKeywordCompletion(selector: MetalsGlobal.Tree, editRange: org.eclipse.lsp4j.Range, pos: MetalsGlobal.Position, text: String, parent: MetalsGlobal.Tree) extends MetalsGlobal.CompletionPosition with Product with Serializable

    Permalink

    A case completion showing the valid subtypes of the type being deconstructed.

    A case completion showing the valid subtypes of the type being deconstructed.

    selector

    the match expression being deconstructed or EmptyTree when not in a match expression (for example List(1).foreach { case@@ }.

    editRange

    the range in the original source file enclosing the case keyword being completed. Used as the position of the main text edit of the completion.

    pos

    the position of the completion in the instrumented source file with _CURSOR_ instrumentation.

    text

    the text of the original source file without _CURSOR_.

    parent

    the parent tree node of the pattern match, for example Apply(_, _) when in List(1).foreach { cas@@ }, used as fallback to compute the type of the selector when it's EmptyTree.

  2. case class CasePatternCompletion(isTyped: Boolean, c: MetalsGlobal.CaseDef, m: MetalsGlobal.Match) extends MetalsGlobal.CompletionPosition with Product with Serializable

    Permalink
  3. case class MatchKeywordCompletion(prefix: MetalsGlobal.Type, editRange: org.eclipse.lsp4j.Range, pos: MetalsGlobal.Position, text: String) extends MetalsGlobal.CompletionPosition with Product with Serializable

    Permalink

    A match keyword completion to generate an exhaustive pattern match for sealed types.

    A match keyword completion to generate an exhaustive pattern match for sealed types.

    prefix

    the type of the qualifier being matched.

  4. class Parents extends AnyRef

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hasLeadingBrace(ident: MetalsGlobal.Ident, text: String): Boolean

    Permalink

    Returns true if the identifier comes after an opening brace character '{'

  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def isCasePrefix(name: MetalsGlobal.Name): Boolean

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def isMatchPrefix(name: MetalsGlobal.Name): Boolean

    Permalink
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped