In This Article

IfStatement Class

Represents an if statement.

public class IfStatement : AstNodeBase, IStatement, IAstNode
Inheritance:
object AstNodeBase object
Implements:
IStatement IAstNode

Remarks

This type was generated by the Actipro Language Designer tool v22.1.0.0 (http://www.actiprosoftware.com).

Constructors

IfStatement()

Initializes an instance of the class.

public IfStatement()

Properties

ConditionExpression

Gets or sets the condition expression.

public IExpression ConditionExpression { get; set; }

Property Value

IExpression:

The condition expression.

FalseStatement

Gets or sets the false statement.

public IStatement FalseStatement { get; set; }

Property Value

IStatement:

The false statement.

Id

Gets the An integer value that identifies the type of AST node.

public override int Id { get; }

Property Value

int:

The An integer value that identifies the type of AST node.

TrueStatement

Gets or sets the true statement.

public IStatement TrueStatement { get; set; }

Property Value

IStatement:

The true statement.

Methods

GetChildrenEnumerator()

Retrieves an IEnumerator object that can iterate the child IAstNode objects in this node.

protected override IEnumerator<IAstNode> GetChildrenEnumerator()

Returns

IEnumerator<IAstNode>:

An IEnumerator object that can iterate the child IAstNode objects in this node.

Inherited Members