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
|
Full Usage:
this.IsAnds
Returns: bool
|
|
Full Usage:
this.IsArrayOrList
Returns: bool
|
|
Full Usage:
this.IsAs
Returns: bool
|
|
Full Usage:
this.IsAttrib
Returns: bool
|
|
Full Usage:
this.IsConst
Returns: bool
|
|
Full Usage:
this.IsFromParseError
Returns: bool
|
|
Full Usage:
this.IsInstanceMember
Returns: bool
|
|
Full Usage:
this.IsIsInst
Returns: bool
|
|
Full Usage:
this.IsListCons
Returns: bool
|
|
Full Usage:
this.IsLongIdent
Returns: bool
|
|
Full Usage:
this.IsNamed
Returns: bool
|
|
Full Usage:
this.IsNull
Returns: bool
|
|
Full Usage:
this.IsOptionalVal
Returns: bool
|
|
Full Usage:
this.IsOr
Returns: bool
|
|
Full Usage:
this.IsParen
Returns: bool
|
|
Full Usage:
this.IsQuoteExpr
Returns: bool
|
|
Full Usage:
this.IsRecord
Returns: bool
|
|
Full Usage:
this.IsTuple
Returns: bool
|
|
Full Usage:
this.IsTyped
Returns: bool
|
|
Full Usage:
this.IsWild
Returns: bool
|
|
|
Gets the syntax range of this construct
|