Header menu logo F# Compiler Guide

SynMatchClause Type

Represents a clause in a 'match' expression

Union cases

Union case Description

SynMatchClause(pat, whenExpr, resultExpr, range, debugPoint, trivia)

Full Usage: SynMatchClause(pat, whenExpr, resultExpr, range, debugPoint, trivia)

Parameters:
pat : SynPat
whenExpr : SynExpr option
resultExpr : SynExpr
range : range
debugPoint : DebugPointAtTarget
trivia : SynMatchClauseTrivia

Instance members

Instance member Description

this.IsTrueMatchClause

Full Usage: this.IsTrueMatchClause

Returns: bool

Is a pattern used in a true match clause e.g. | pat -> expr

Returns: bool

this.Range

Full Usage: this.Range

Returns: range

Gets the syntax range of this construct

Returns: range

this.RangeOfGuardAndRhs

Full Usage: this.RangeOfGuardAndRhs

Returns: range

Gets the syntax range of part of this construct

Returns: range

Type something to start searching.