Logo fantomas

ExprOptVarNode Type

A name used as an expression, the compiler's SynExpr.LongIdent. Despite the case name, IsOptional is true only for the last shape below. value // a name Module.value // two of these inside a chain: `Module`, then `.value` f (?x = 1) // the `?x`, the one shape IsOptional is true for

Constructors

Constructor Description

ExprOptVarNode(isOptional, identifier, range)

Full Usage: ExprOptVarNode(isOptional, identifier, range)

Parameters:
Returns: ExprOptVarNode
isOptional : bool
identifier : IdentListNode
range : range
Returns: ExprOptVarNode

Instance members

Instance member Description

this.Identifier

Full Usage: this.Identifier

Returns: IdentListNode
Returns: IdentListNode

this.IsOptional

Full Usage: this.IsOptional

Returns: bool
Returns: bool

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

Full Usage: this.HasContentAfter

Returns: bool
Returns: bool

this.Range

Full Usage: this.Range

Returns: range
Returns: range

this.HasAnyContentAfter

Full Usage: this.HasAnyContentAfter

Returns: bool
Returns: bool

this.ContentAfter

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Returns: TriviaNode seq

this.Children

Full Usage: this.Children

Returns: Node array
Modifiers: abstract
Returns: Node array

this.HasContentBefore

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

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

Full Usage: this.HasAnyContentBefore

Returns: bool
Returns: bool

Type something to start searching.