Logo fantomas

ExprSingleNode Type

A single expression prefixed by a keyword, e.g. `assert condition`, `yield value`, `return result`, `upcast expr`, `downcast expr`, `do expr`, `do! asyncExpr`, `return! asyncExpr`. `AddSpace` controls whether a space is emitted between the keyword and the expression.

Constructors

Constructor Description

ExprSingleNode(leading, addSpace, supportsStroustrup, expr, range)

Full Usage: ExprSingleNode(leading, addSpace, supportsStroustrup, expr, range)

Parameters:
Returns: ExprSingleNode
leading : SingleTextNode
addSpace : bool
supportsStroustrup : bool
expr : Expr
range : range
Returns: ExprSingleNode

Instance members

Instance member Description

this.AddSpace

Full Usage: this.AddSpace

Returns: bool
Returns: bool

this.Expr

Full Usage: this.Expr

Returns: Expr
Returns: Expr

this.Leading

Full Usage: this.Leading

Returns: SingleTextNode
Returns: SingleTextNode

this.SupportsStroustrup

Full Usage: this.SupportsStroustrup

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

Full Usage: this.Children

Returns: Node array
Modifiers: abstract
Returns: Node array

this.Range

Full Usage: this.Range

Returns: range
Returns: range

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

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Returns: TriviaNode seq

Type something to start searching.