Header menu logo F# Compiler Guide

SynTypeDefnRepr Type

Represents the right hand side of a type or exception declaration 'type C = ... ' plus any additional member definitions for the type

Union cases

Union case Description

Exception exnRepr

Full Usage: Exception exnRepr

Parameters:

An exception definition

exnRepr : SynExceptionDefnRepr

ObjectModel(kind, members, range)

Full Usage: ObjectModel(kind, members, range)

Parameters:

An object model type definition (class or interface)

kind : SynTypeDefnKind
members : SynMemberDefns
range : range

Simple(simpleRepr, range)

Full Usage: Simple(simpleRepr, range)

Parameters:

A simple type definition (record, union, abbreviation)

simpleRepr : 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.