Header menu logo F# Compiler Guide

SynTypeDefn Type

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

Union cases

Union case Description

SynTypeDefn(typeInfo, typeRepr, members, implicitConstructor, range, trivia)

Full Usage: SynTypeDefn(typeInfo, typeRepr, members, implicitConstructor, range, trivia)

Parameters:
typeInfo : SynComponentInfo
typeRepr : SynTypeDefnRepr
members : SynMemberDefns
implicitConstructor : SynMemberDefn option
range : range
trivia : SynTypeDefnTrivia

Instance members

Instance member Description

this.Range

Full Usage: this.Range

Returns: range

Gets the syntax range of this construct

Returns: range

Type something to start searching.