SynPat Type
Represents a syntax tree for an F# pattern
Union cases
Union case |
Description
|
|
|
|
|
|
|
Full Usage:
Attrib(pat, attributes, range)
Parameters:
SynPat
attributes : SynAttributes
range : range
|
An attributed pattern, used in argument or declaration position
|
|
|
|
|
|
|
Full Usage:
ListCons(lhsPat, rhsPat, range, trivia)
Parameters:
SynPat
rhsPat : SynPat
range : range
trivia : SynPatListConsTrivia
|
A conjunctive pattern 'pat1 :: pat2'
|
Full Usage:
LongIdent(longDotId, extraId, typarDecls, argPats, accessibility, range)
Parameters:
SynLongIdent
extraId : Ident option
typarDecls : SynValTyparDecls option
argPats : SynArgPats
accessibility : SynAccess option
range : range
|
A long identifier pattern possibly with argument patterns
|
|
|
|
The 'null' pattern
|
|
|
Full Usage:
Or(lhsPat, rhsPat, range, trivia)
Parameters:
SynPat
rhsPat : SynPat
range : range
trivia : SynPatOrTrivia
|
A disjunctive pattern 'pat1 | pat2'
|
|
|
|
|
|
|
|
|
|
A wildcard '_' in a pattern
|
Instance members
Instance member |
Description
|
|
Gets the syntax range of this construct
|