Header menu logo F# Compiler Guide

NamePatPairField Type

Represents a single named argument pattern a pair of the form `name = pattern`.

Union cases

Union case Description

NamePatPairField(fieldName, equalsRange, range, pat, blockSeparator)

Full Usage: NamePatPairField(fieldName, equalsRange, range, pat, blockSeparator)

Parameters:
fieldName : SynLongIdent
equalsRange : range option
range : range
pat : SynPat
blockSeparator : BlockSeparator option

Instance members

Instance member Description

this.FieldName

Full Usage: this.FieldName

Returns: SynLongIdent

Gets the identifier of the named field/parameter.

Returns: SynLongIdent

this.Pattern

Full Usage: this.Pattern

Returns: SynPat

Gets the pattern associated with the named field.

Returns: SynPat

this.Range

Full Usage: this.Range

Returns: range

Gets the overall range of this name–pattern pair, if available.

Returns: range

Type something to start searching.