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

Parameters:

ObjectModel(kind, memberSigs, range)

Full Usage: ObjectModel(kind, memberSigs, range)

Parameters:

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)

Parameters:

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

repr : SynTypeDefnSimpleRepr
range : range

Instance members

Instance member Description

this.IsException

Full Usage: this.IsException

Returns: bool
Returns: bool

this.IsObjectModel

Full Usage: this.IsObjectModel

Returns: bool
Returns: bool

this.IsSimple

Full Usage: this.IsSimple

Returns: bool
Returns: bool

this.Range

Full Usage: this.Range

Returns: range

Gets the syntax range of this construct

Returns: range

Type something to start searching.