TypeNameNode Type
The shared header of a type definition: `type` / `and` keyword, optional doc, attributes, name, type parameters, constraints, optional implicit constructor, and `=` / `with` tokens. Example: `type private MyType<'T when 'T: equality>(x: int) =`
Constructors
| Constructor |
Description
|
Full Usage:
TypeNameNode(xmlDoc, attributes, leadingKeyword, ao, identifier, typeParams, constraints, implicitConstructor, equalsToken, withKeyword, range)
Parameters:
XmlDocNode option
attributes : MultipleAttributeListNode option
leadingKeyword : SingleTextNode
ao : SingleTextNode option
identifier : IdentListNode
typeParams : TyparDecls option
constraints : TypeConstraint list
implicitConstructor : ImplicitConstructorNode option
equalsToken : SingleTextNode option
withKeyword : SingleTextNode option
range : range
Returns: TypeNameNode
|
|
Instance members
| Instance member |
Description
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.IsFirstType
Returns: bool
|
|
|
|
|
|
|
|
|
|
Inherited members
Inherited from
NodeBase
Instance members
| Instance member |
Description
|
|
|
|
|
|
|
|
|
Full Usage:
this.ToStringWithIndent
Parameters:
int
Returns: string
|
|
|
|
|
|
|
|
Full Usage:
this.HasContentBefore
Returns: bool
|
|
Full Usage:
this.HasContentAfter
Returns: bool
|
|
|
|
|
|
fantomas