SynTypeDefnSimpleRepr Type
Represents the syntax tree for the core of a simple type definition, in either signature or implementation.
Union cases
Union case |
Description
|
|
An enum type definition, type X = A = 1 | B = 2
|
|
An exception definition, "exception E = ..."
|
Full Usage:
General(kind, inherits, slotsigs, fields, isConcrete, isIncrClass, implicitCtorSynPats, range)
Parameters:
SynTypeDefnKind
inherits : (SynType * range * Ident option) list
slotsigs : (SynValSig * SynMemberFlags) list
fields : SynField list
isConcrete : bool
isIncrClass : bool
implicitCtorSynPats : SynPat option
range : range
|
An object oriented type definition. This is not a parse-tree form, but represents the core type representation which the type checker splits out from the "ObjectModel" cases of type definitions.
|
|
A type defined by using an IL assembly representation. Only used in FSharp.Core. F# syntax: "type X = (# "..."#)
|
|
An abstract definition, "type X"
|
|
|
Full Usage:
TypeAbbrev(detail, rhsType, range)
Parameters:
ParserDetail
rhsType : SynType
range : range
|
A type abbreviation, "type X = A.B.C"
|
Full Usage:
Union(accessibility, unionCases, range)
Parameters:
SynAccess option
unionCases : SynUnionCase list
range : range
|
A union type definition, type X = A | B
|
Instance members
Instance member |
Description
|
|
Gets the syntax range of this construct
|