Logo fantomas

FieldNode Type

Example: `val mutable private name: int` — a field declaration inside a type definition. Used for record fields, union-case fields, and `val`-style class fields.

Constructors

Constructor Description

FieldNode(xmlDoc, attributes, leadingKeyword, mutableKeyword, accessibility, name, t, range)

Full Usage: FieldNode(xmlDoc, attributes, leadingKeyword, mutableKeyword, accessibility, name, t, range)

Parameters:
Returns: FieldNode
xmlDoc : XmlDocNode option
attributes : MultipleAttributeListNode option
leadingKeyword : MultipleTextsNode option
mutableKeyword : SingleTextNode option
accessibility : SingleTextNode option
name : SingleTextNode option
t : Type
range : range
Returns: FieldNode

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

Full Usage: this.LeadingKeyword

Returns: MultipleTextsNode option
Returns: MultipleTextsNode option

this.MutableKeyword

Full Usage: this.MutableKeyword

Returns: SingleTextNode option
Returns: SingleTextNode option

this.Name

Full Usage: this.Name

Returns: SingleTextNode option
Returns: SingleTextNode option

this.Type

Full Usage: this.Type

Returns: Type
Returns: Type

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.