Logo fantomas

TypeAnonRecordNode Type

Example: `{| Name: string; Age: int |}` or `struct {| X: float |}` — an anonymous record type.

Constructors

Constructor Description

TypeAnonRecordNode(structNode, openingToken, fields, closingToken, range)

Full Usage: TypeAnonRecordNode(structNode, openingToken, fields, closingToken, range)

Parameters:
Returns: TypeAnonRecordNode
structNode : SingleTextNode option
openingToken : SingleTextNode option
fields : (SingleTextNode * Type) list
closingToken : SingleTextNode
range : range
Returns: TypeAnonRecordNode

Instance members

Instance member Description

this.Closing

Full Usage: this.Closing

Returns: SingleTextNode
Returns: SingleTextNode

this.Fields

Full Usage: this.Fields

Returns: (SingleTextNode * Type) list
Returns: (SingleTextNode * Type) list

this.Opening

Full Usage: this.Opening

Returns: SingleTextNode option
Returns: SingleTextNode option

this.Struct

Full Usage: this.Struct

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