PatternContext Type
Union cases
Union case | Description |
Full Usage:
NamedUnionCaseField(fieldName, caseIdRange)
Parameters:
string
caseIdRange : range
|
|
Full Usage:
Other
|
|
Full Usage:
PositionalUnionCaseField(fieldIndex, isTheOnlyField, caseIdRange)
Parameters:
int option
-
Position in the tuple. None if there is no tuple, with only one field outside of parentheses - `Some v|`
isTheOnlyField : bool
-
True when completing the first field in the tuple and no other field is bound - `Case (a|)` but not `Case (a|, b)`
caseIdRange : range
-
Range of the case identifier
|
|
Full Usage:
RecordFieldIdentifier referencedFields
Parameters:
(string * range) list
|
|
Full Usage:
UnionCaseFieldIdentifier(referencedFields, caseIdRange)
Parameters:
string list
caseIdRange : range
|
|