Logo fantomas

ValNode Type

Example: `val mutable x: int` — a value declaration in a class or signature file, optionally mutable and with an initial expression.

Constructors

Constructor Description

ValNode(xmlDoc, attributes, leadingKeyword, inlineNode, isMutable, accessibility, identifier, typeParams, t, equals, eo, range)

Full Usage: ValNode(xmlDoc, attributes, leadingKeyword, inlineNode, isMutable, accessibility, identifier, typeParams, t, equals, eo, range)

Parameters:
Returns: ValNode
xmlDoc : XmlDocNode option
attributes : MultipleAttributeListNode option
leadingKeyword : MultipleTextsNode option
inlineNode : SingleTextNode option
isMutable : bool
accessibility : SingleTextNode option
identifier : SingleTextNode
typeParams : TyparDecls option
t : Type
equals : SingleTextNode option
eo : Expr option
range : range
Returns: ValNode

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

Full Usage: this.Equals

Returns: SingleTextNode option
Returns: SingleTextNode option

this.Expr

Full Usage: this.Expr

Returns: Expr option
Returns: Expr option

this.Identifier

Full Usage: this.Identifier

Returns: SingleTextNode
Returns: SingleTextNode

this.Inline

Full Usage: this.Inline

Returns: SingleTextNode option
Returns: SingleTextNode option

this.IsMutable

Full Usage: this.IsMutable

Returns: bool
Returns: bool

this.LeadingKeyword

Full Usage: this.LeadingKeyword

Returns: MultipleTextsNode option
Returns: MultipleTextsNode option

this.Type

Full Usage: this.Type

Returns: Type
Returns: Type

this.TypeParams

Full Usage: this.TypeParams

Returns: TyparDecls option
Returns: TyparDecls option

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

this.HasContentBefore

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

this.ContentBefore

Full Usage: this.ContentBefore

Returns: TriviaNode seq
Returns: TriviaNode seq

Type something to start searching.