Header menu logo F# Compiler Guide

SynExprIfThenElseTrivia Type

Represents additional information for SynExpr.IfThenElse

Record fields

Record Field Description

ElseKeyword

Full Usage: ElseKeyword

Field type: range option

The syntax range of the `else` keyword.

Field type: range option

IfKeyword

Full Usage: IfKeyword

Field type: range

The syntax range of the `if` keyword.

Field type: range

IfToThenRange

Full Usage: IfToThenRange

Field type: range

The syntax range from the beginning of the `if` keyword till the end of the `then` keyword.

Field type: range

IsElif

Full Usage: IsElif

Field type: bool

Indicates if the `elif` keyword was used

Field type: bool

ThenKeyword

Full Usage: ThenKeyword

Field type: range

The syntax range of the `then` keyword.

Field type: range

Type something to start searching.