Header menu logo F# Compiler Guide

SynTypeDefnSigRepr Type

Represents the syntax tree for the right-hand-side of a type definition in a signature. Note: in practice, using a discriminated union to make a distinction between "simple" types and "object oriented" types is not particularly useful.

Union cases

Union case Description

Exception repr

Full Usage: Exception repr

repr : SynExceptionDefnRepr

ObjectModel(kind, memberSigs, range)

Full Usage: ObjectModel(kind, memberSigs, range)


Indicates the right right-hand-side is a class, struct, interface or other object-model type

kind : SynTypeDefnKind
memberSigs : SynMemberSig list
range : range

Simple(repr, range)

Full Usage: Simple(repr, range)


Indicates the right right-hand-side is a record, union or other simple type.

repr : SynTypeDefnSimpleRepr
range : range

Instance members

Instance member Description


Full Usage: this.Range

Returns: range

Gets the syntax range of this construct

Returns: range

Type something to start searching.