Logo fantomas

ExprIfThenElseNode Type

Example: `if condition then trueResult else falseResult`

Constructors

Constructor Description

ExprIfThenElseNode(ifNode, ifExpr, thenNode, thenExpr, elseNode, elseExpr, range)

Full Usage: ExprIfThenElseNode(ifNode, ifExpr, thenNode, thenExpr, elseNode, elseExpr, range)

Parameters:
Returns: ExprIfThenElseNode
ifNode : IfKeywordNode
ifExpr : Expr
thenNode : SingleTextNode
thenExpr : Expr
elseNode : SingleTextNode
elseExpr : Expr
range : range
Returns: ExprIfThenElseNode

Instance members

Instance member Description

this.Else

Full Usage: this.Else

Returns: SingleTextNode
Returns: SingleTextNode

this.ElseExpr

Full Usage: this.ElseExpr

Returns: Expr
Returns: Expr

this.If

Full Usage: this.If

Returns: IfKeywordNode
Returns: IfKeywordNode

this.IfExpr

Full Usage: this.IfExpr

Returns: Expr
Returns: Expr

this.Then

Full Usage: this.Then

Returns: SingleTextNode
Returns: SingleTextNode

this.ThenExpr

Full Usage: this.ThenExpr

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.