SynSimplePat Type
Represents a syntax tree for simple F# patterns
Union cases
Union case |
Description
|
Full Usage:
Attrib(pat, attributes, range)
Parameters:
SynSimplePat
attributes : SynAttributes
range : range
|
An attributed simple pattern
|
Full Usage:
Id(ident, altNameRefCell, isCompilerGenerated, isThisVal, isOptional, range)
Parameters:
Ident
altNameRefCell : SynSimplePatAlternativeIdInfo ref option
isCompilerGenerated : bool
isThisVal : bool
isOptional : bool
range : range
|
Indicates a simple pattern variable. altNameRefCell: Normally 'None' except for some compiler-generated variables in desugaring pattern matching. Pattern processing sets this reference for hidden variable introduced by desugaring pattern matching in arguments. The info indicates an alternative (compiler generated) identifier to be used because the name of the identifier is already bound. isCompilerGenerated: true if a compiler generated name isThisVal: true if 'this' variable in member isOptional: true if a '?' is in front of the name
|
Full Usage:
Typed(pat, targetType, range)
Parameters:
SynSimplePat
targetType : SynType
range : range
|
A type annotated simple pattern
|
Instance members
Instance member |
Description
|
|
|