Logo fantomas

ExprChain Type

Example: `person.Address.City.ToUpper()` — a chain of dot-separated member accesses and calls. Head is the leading receiver expression (fully decomposed; no dotted content remains in it). Segments are the dot-paired steps. Terminal is the optional outermost call.

Constructors

Constructor Description

ExprChain(head, segments, terminal, range)

Full Usage: ExprChain(head, segments, terminal, range)

Parameters:
Returns: ExprChain
head : Expr
segments : ChainSegment list
terminal : ChainTerminal
range : range
Returns: ExprChain

Instance members

Instance member Description

this.Head

Full Usage: this.Head

Returns: Expr
Returns: Expr

this.Segments

Full Usage: this.Segments

Returns: ChainSegment list
Returns: ChainSegment list

this.Terminal

Full Usage: this.Terminal

Returns: ChainTerminal
Returns: ChainTerminal

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

Full Usage: this.HasAnyContentAfter

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

Full Usage: this.Range

Returns: range
Returns: range

this.HasAnyContentBefore

Full Usage: this.HasAnyContentBefore

Returns: bool
Returns: bool

Type something to start searching.