Logo fantomas

BindingNode Type

Example: `let inline private f<'T> (x: 'T) : int = ...` — a value/function/member binding. Covers `let`, `use`, `and`, `member`, `static member`, etc. depending on LeadingKeyword.

Constructors

Constructor Description

BindingNode(xmlDoc, attributes, leadingKeyword, isMutable, inlineNode, accessibility, functionName, genericTypeParameters, parameters, returnType, equals, expr, inKeyword, range)

Full Usage: BindingNode(xmlDoc, attributes, leadingKeyword, isMutable, inlineNode, accessibility, functionName, genericTypeParameters, parameters, returnType, equals, expr, inKeyword, range)

Parameters:
Returns: BindingNode
xmlDoc : XmlDocNode option
attributes : MultipleAttributeListNode option
leadingKeyword : MultipleTextsNode
isMutable : bool
inlineNode : SingleTextNode option
accessibility : SingleTextNode option
functionName : Choice<IdentListNode, Pattern>
genericTypeParameters : TyparDecls option
parameters : Pattern list
returnType : BindingReturnInfoNode option
equals : SingleTextNode
expr : Expr
inKeyword : SingleTextNode option
range : range
Returns: BindingNode

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

this.Expr

Full Usage: this.Expr

Returns: Expr
Returns: Expr

this.FunctionName

Full Usage: this.FunctionName

Returns: Choice<IdentListNode, Pattern>

this.GenericTypeParameters

Full Usage: this.GenericTypeParameters

Returns: TyparDecls option
Returns: TyparDecls option

this.In

Full Usage: this.In

Returns: SingleTextNode option
Returns: SingleTextNode option

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

this.Parameters

Full Usage: this.Parameters

Returns: Pattern list
Returns: Pattern list

this.ReturnType

Full Usage: this.ReturnType

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

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

this.ContentAfter

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Returns: TriviaNode seq

this.ContentBefore

Full Usage: this.ContentBefore

Returns: TriviaNode seq
Returns: TriviaNode seq

this.HasContentAfter

Full Usage: this.HasContentAfter

Returns: bool
Returns: bool

this.Range

Full Usage: this.Range

Returns: range
Returns: range

this.Children

Full Usage: this.Children

Returns: Node array
Modifiers: abstract
Returns: Node array

this.TryGetCursor

Full Usage: this.TryGetCursor

Returns: pos option
Returns: pos option

Type something to start searching.