Logo fantomas

TyparDeclNode Type

Example: `'T` or `[] 'T & IDisposable` — a type parameter declaration with optional attributes and optional intersection constraints (F# 8+). Used in `<'T>` or `('T)` postfix/prefix type parameter lists.

Constructors

Constructor Description

TyparDeclNode(attributes, typar, intersectionConstraints, range)

Full Usage: TyparDeclNode(attributes, typar, intersectionConstraints, range)

Parameters:
Returns: TyparDeclNode
attributes : MultipleAttributeListNode option
typar : SingleTextNode
intersectionConstraints : Choice<Type, SingleTextNode> list
range : range
Returns: TyparDeclNode

Instance members

Instance member Description

this.Attributes

Full Usage: this.Attributes

Returns: MultipleAttributeListNode option

this.IntersectionConstraints

Full Usage: this.IntersectionConstraints

Returns: Choice<Type, SingleTextNode> list
Returns: Choice<Type, SingleTextNode> list

this.TypeParameter

Full Usage: this.TypeParameter

Returns: SingleTextNode
Returns: SingleTextNode

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.HasContentBefore

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

this.ContentAfter

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Returns: TriviaNode seq

this.ContentBefore

Full Usage: this.ContentBefore

Returns: TriviaNode seq
Returns: TriviaNode seq

this.HasContentAfter

Full Usage: this.HasContentAfter

Returns: bool
Returns: bool

this.Range

Full Usage: this.Range

Returns: range
Returns: range

this.Children

Full Usage: this.Children

Returns: Node array
Modifiers: abstract
Returns: Node array

this.TryGetCursor

Full Usage: this.TryGetCursor

Returns: pos option
Returns: pos option

Type something to start searching.