Logo fantomas

ExprDynamicChainNode Type

Example: `x?a("")?b(t)` — a chain of two or more `?` operator accesses. Captured as a dedicated node so the printer can keep `?member(arg)` tight, because adding a space before the paren argument changes parsing of the following `?member`. See #3159.

Constructors

Constructor Description

ExprDynamicChainNode(leadingExpr, items, range)

Full Usage: ExprDynamicChainNode(leadingExpr, items, range)

Parameters:
Returns: ExprDynamicChainNode
leadingExpr : Expr
items : ExprDynamicChainItemNode list
range : range
Returns: ExprDynamicChainNode

Instance members

Instance member Description

this.Items

Full Usage: this.Items

Returns: ExprDynamicChainItemNode list

this.LeadingExpr

Full Usage: this.LeadingExpr

Returns: Expr
Returns: Expr

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

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Returns: TriviaNode seq

this.HasContentAfter

Full Usage: this.HasContentAfter

Returns: bool
Returns: bool

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

this.ContentBefore

Full Usage: this.ContentBefore

Returns: TriviaNode seq
Returns: TriviaNode seq

this.Range

Full Usage: this.Range

Returns: range
Returns: range

this.HasContentBefore

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

Type something to start searching.