Logo fantomas

ExprAnonStructRecordNode Type

Example: `struct {| Name = "Alice"; Age = 30 |}` — an anonymous struct record expression. Extends `ExprRecordNode` by prepending the `struct` keyword.

Constructors

Constructor Description

ExprAnonStructRecordNode(structNode, openingBrace, copyInfo, fields, closingBrace, range)

Full Usage: ExprAnonStructRecordNode(structNode, openingBrace, copyInfo, fields, closingBrace, range)

Parameters:
Returns: ExprAnonStructRecordNode
structNode : SingleTextNode
openingBrace : SingleTextNode
copyInfo : Expr option
fields : RecordFieldNode list
closingBrace : SingleTextNode
range : range
Returns: ExprAnonStructRecordNode

Instance members

Instance member Description

this.Struct

Full Usage: this.Struct

Returns: SingleTextNode
Returns: SingleTextNode

Inherited members

Inherited from ExprRecordNode

Instance members

Instance member Description

this.HasFields

Full Usage: this.HasFields

Returns: bool
Returns: bool

this.CopyInfo

Full Usage: this.CopyInfo

Returns: Expr option
Returns: Expr option

Inherited from ExprRecordBaseNode

Instance members

Instance member Description

this.HasFields

Full Usage: this.HasFields

Returns: bool
Returns: bool

this.OpeningBrace

Full Usage: this.OpeningBrace

Returns: SingleTextNode
Returns: SingleTextNode

this.ClosingBrace

Full Usage: this.ClosingBrace

Returns: SingleTextNode
Returns: SingleTextNode

this.Fields

Full Usage: this.Fields

Returns: RecordFieldNode list
Returns: RecordFieldNode list

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

Full Usage: this.HasContentAfter

Returns: bool
Returns: bool

this.Range

Full Usage: this.Range

Returns: range
Returns: range

this.TryGetCursor

Full Usage: this.TryGetCursor

Returns: pos option
Returns: pos option

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

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

Type something to start searching.