Header menu logo F# Compiler Guide

SynPat Module

Functions and values

Function or value Description

SynPat.shouldBeParenthesizedInContext path pat

Full Usage: SynPat.shouldBeParenthesizedInContext path pat

Parameters:
Returns: bool True if the given pattern should be parenthesized in the given context, otherwise false.

Returns true if the given pattern should be parenthesized in the given context, otherwise false.

path : SyntaxVisitorPath

The pattern's ancestor nodes.

pat : SynPat

The pattern to check.

Returns: bool

True if the given pattern should be parenthesized in the given context, otherwise false.

Type something to start searching.