Logo fantomas

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

TypeNameNode(xmlDoc, attributes, leadingKeyword, ao, identifier, typeParams, constraints, implicitConstructor, equalsToken, withKeyword, range)

Full Usage: TypeNameNode(xmlDoc, attributes, leadingKeyword, ao, identifier, typeParams, constraints, implicitConstructor, equalsToken, withKeyword, range)

Parameters:
Returns: TypeNameNode
xmlDoc : 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

this.Accessibility

Full Usage: this.Accessibility

Returns: SingleTextNode option
Returns: SingleTextNode option

this.Attributes

Full Usage: this.Attributes

Returns: MultipleAttributeListNode option

this.Constraints

Full Usage: this.Constraints

Returns: TypeConstraint list
Returns: TypeConstraint list

this.EqualsToken

Full Usage: this.EqualsToken

Returns: SingleTextNode option
Returns: SingleTextNode option

this.Identifier

Full Usage: this.Identifier

Returns: IdentListNode
Returns: IdentListNode

this.ImplicitConstructor

Full Usage: this.ImplicitConstructor

Returns: ImplicitConstructorNode option
Returns: ImplicitConstructorNode option

this.IsFirstType

Full Usage: this.IsFirstType

Returns: bool
Returns: bool

this.LeadingKeyword

Full Usage: this.LeadingKeyword

Returns: SingleTextNode
Returns: SingleTextNode

this.TypeParameters

Full Usage: this.TypeParameters

Returns: TyparDecls option
Returns: TyparDecls option

this.WithKeyword

Full Usage: this.WithKeyword

Returns: SingleTextNode option
Returns: SingleTextNode option

this.XmlDoc

Full Usage: this.XmlDoc

Returns: XmlDocNode option
Returns: XmlDocNode option

Inherited members

Inherited from NodeBase

Instance members

Instance member Description

this.AddAfter

Full Usage: this.AddAfter

Parameters:
triviaNode : TriviaNode

this.AddBefore

Full Usage: this.AddBefore

Parameters:
triviaNode : TriviaNode

this.AddCursor

Full Usage: this.AddCursor

Parameters:
cursor : pos

this.AppendToStringWithIndent

Full Usage: this.AppendToStringWithIndent

Parameters:
sb : StringBuilder
depth : int

this.ToStringWithIndent

Full Usage: this.ToStringWithIndent

Parameters:
    depth : int

Returns: string
depth : int
Returns: string

this.Children

Full Usage: this.Children

Returns: Node array
Modifiers: abstract
Returns: Node array

this.Range

Full Usage: this.Range

Returns: range
Returns: range

this.ContentBefore

Full Usage: this.ContentBefore

Returns: TriviaNode seq
Returns: TriviaNode seq

this.HasContentBefore

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

this.HasContentAfter

Full Usage: this.HasContentAfter

Returns: bool
Returns: bool

this.TryGetCursor

Full Usage: this.TryGetCursor

Returns: pos option
Returns: pos option

this.ContentAfter

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Returns: TriviaNode seq

Type something to start searching.