A case
completion showing the valid subtypes of the type being deconstructed.
A case
completion showing the valid subtypes of the type being deconstructed.
the match expression being deconstructed or EmptyTree
when
not in a match expression (for example List(1).foreach { case@@ }
.
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.
the position of the completion in the instrumented source file with _CURSOR_
instrumentation.
the text of the original source file without _CURSOR_
.
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
.
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.
the type of the qualifier being matched.
Returns true if the identifier comes after an opening brace character '{'