CompletionContext Type
Union cases
Union case |
Description
|
Full Usage:
AttributeApplication
|
Completing an attribute name, outside of the constructor |
|
Completing something after the inherit keyword
|
Full Usage:
Invalid
|
Completion context cannot be determined due to errors |
Full Usage:
MethodOverride(ctx, enclosingTypeNameRange, spacesBeforeOverrideKeyword, hasThis, isStatic)
Parameters:
MethodOverrideCompletionContext
enclosingTypeNameRange : range
spacesBeforeOverrideKeyword : int
hasThis : bool
isStatic : bool
|
Completing a method override (e.g. override this.ToStr|)
|
Full Usage:
OpenDeclaration isOpenType
Parameters:
bool
|
|
|
Completing a pattern in a match clause, member/let binding or lambda
|
Full Usage:
RangeOperator
|
|
|
Completing records field
|
Full Usage:
Type
|
Completing a type annotation (e.g. foo (x: |))
Completing a type application (e.g. typeof |
Full Usage:
TypeAbbreviationOrSingleCaseUnion
|
Completing a type abbreviation (e.g. type Long = int6|) or a single case union without a bar (type SomeUnion = Abc|) |
Full Usage:
UnionCaseFieldsDeclaration
|
Completing union case fields declaration (e.g. 'A of stri|' but not 'B of tex|: string') |
Instance members
Instance member |
Description
|
Full Usage:
this.IsAttributeApplication
Returns: bool
|
|
Full Usage:
this.IsInherit
Returns: bool
|
|
Full Usage:
this.IsInvalid
Returns: bool
|
|
Full Usage:
this.IsMethodOverride
Returns: bool
|
|
Full Usage:
this.IsOpenDeclaration
Returns: bool
|
|
Full Usage:
this.IsParameterList
Returns: bool
|
|
Full Usage:
this.IsPattern
Returns: bool
|
|
Full Usage:
this.IsRangeOperator
Returns: bool
|
|
Full Usage:
this.IsRecordField
Returns: bool
|
|
Full Usage:
this.IsType
Returns: bool
|
|
Full Usage:
this.IsTypeAbbreviationOrSingleCaseUnion
Returns: bool
|
|
Full Usage:
this.IsUnionCaseFieldsDeclaration
Returns: bool
|
|