Logo fantomas

TypeDefnAugmentationNode Type

Example: `type MyClass with` — a type augmentation (intrinsic extension) adding members to an existing type.

Constructors

Constructor Description

TypeDefnAugmentationNode(typeNameNode, withKeyword, members, range)

Full Usage: TypeDefnAugmentationNode(typeNameNode, withKeyword, members, range)

Parameters:
Returns: TypeDefnAugmentationNode
typeNameNode : TypeNameNode
withKeyword : SingleTextNode option
members : MemberDefn list
range : range
Returns: TypeDefnAugmentationNode

Instance members

Instance member Description

this.Members

Full Usage: this.Members

Returns: MemberDefn list
Returns: MemberDefn list

this.TypeName

Full Usage: this.TypeName

Returns: TypeNameNode
Returns: TypeNameNode

this.WithKeyword

Full Usage: this.WithKeyword

Returns: SingleTextNode 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.Children

Full Usage: this.Children

Returns: Node array
Modifiers: abstract
Returns: Node array

this.HasAnyContentBefore

Full Usage: this.HasAnyContentBefore

Returns: bool
Returns: bool

this.Range

Full Usage: this.Range

Returns: range
Returns: range

this.HasContentBefore

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

this.ContentBefore

Full Usage: this.ContentBefore

Returns: TriviaNode seq
Returns: TriviaNode seq

this.ContentAfter

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Returns: TriviaNode seq

this.HasAnyContentAfter

Full Usage: this.HasAnyContentAfter

Returns: bool
Returns: bool

this.HasContentAfter

Full Usage: this.HasContentAfter

Returns: bool
Returns: bool

Type something to start searching.