MatchClauseNode Type
Example: `| pat when guard -> body` — a single arm of a `match` or `try…with` expression. The leading bar, guard (`when` clause), and arrow are all optional depending on context.
Constructors
| Constructor |
Description
|
Full Usage:
MatchClauseNode(bar, pattern, whenExpr, arrow, bodyExpr, range)
Parameters:
SingleTextNode option
pattern : Pattern
whenExpr : Expr option
arrow : SingleTextNode
bodyExpr : Expr
range : range
Returns: MatchClauseNode
|
|
Instance members
| Instance member |
Description
|
|
|
|
|
|
|
|
|
|
|
Inherited members
Inherited from
NodeBase
Instance members
| Instance member |
Description
|
|
|
|
|
|
|
|
|
Full Usage:
this.ToStringWithIndent
Parameters:
int
Returns: string
|
|
|
|
Full Usage:
this.HasContentAfter
Returns: bool
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.HasContentBefore
Returns: bool
|
|
fantomas