Header menu logo F# Compiler Guide

SynLetOrUse Type

Represents a 'let' or 'use' expression with its bindings and body

Record fields

Record Field Description

Bindings

Full Usage: Bindings

Field type: SynBinding list

The bindings in this let/use expression

Field type: SynBinding list

Body

Full Usage: Body

Field type: SynExpr

The body expression

Field type: SynExpr

IsFromSource

Full Usage: IsFromSource

Field type: bool

true if the binding was explicitly written by the user in the source code, false if generated by the compiler

Field type: bool

IsRecursive

Full Usage: IsRecursive

Field type: bool

true for 'let rec' and 'use rec' bindings, false for 'let' and 'use' bindings

Field type: bool

Range

Full Usage: Range

Field type: range

The syntax range of this expression

Field type: range

Trivia

Full Usage: Trivia

Field type: SynLetOrUseTrivia

Trivia for this expression

Field type: SynLetOrUseTrivia

Instance members

Instance member Description

this.IsBang

Full Usage: this.IsBang

Returns: bool

true for 'let!' and 'use!' bindings, false for 'let' and 'use' bindings

Returns: bool

this.IsUse

Full Usage: this.IsUse

Returns: bool

true for 'use' and 'use!' bindings, false for 'let' and 'let!' bindings

Returns: bool

Type something to start searching.