Logo fantomas

ExprForNode Type

Example: `for i = 1 to 10 do printfn "%d" i` or `for i = 10 downto 1 do …`. `Direction` is `true` for ascending (`to`) and `false` for descending (`downto`).

Constructors

Constructor Description

ExprForNode(forNode, ident, equals, identBody, direction, toBody, doBody, range)

Full Usage: ExprForNode(forNode, ident, equals, identBody, direction, toBody, doBody, range)

Parameters:
Returns: ExprForNode
forNode : SingleTextNode
ident : SingleTextNode
equals : SingleTextNode
identBody : Expr
direction : bool
toBody : Expr
doBody : Expr
range : range
Returns: ExprForNode

Instance members

Instance member Description

this.Direction

Full Usage: this.Direction

Returns: bool
Returns: bool

this.DoBody

Full Usage: this.DoBody

Returns: Expr
Returns: Expr

this.Equals

Full Usage: this.Equals

Returns: SingleTextNode
Returns: SingleTextNode

this.For

Full Usage: this.For

Returns: SingleTextNode
Returns: SingleTextNode

this.Ident

Full Usage: this.Ident

Returns: SingleTextNode
Returns: SingleTextNode

this.IdentBody

Full Usage: this.IdentBody

Returns: Expr
Returns: Expr

this.ToBody

Full Usage: this.ToBody

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

Full Usage: this.Children

Returns: Node array
Modifiers: abstract
Returns: Node array

this.HasContentAfter

Full Usage: this.HasContentAfter

Returns: bool
Returns: bool

this.Range

Full Usage: this.Range

Returns: range
Returns: range

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

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Returns: TriviaNode seq

this.HasContentBefore

Full Usage: this.HasContentBefore

Returns: bool
Returns: bool

Type something to start searching.