In This Article

ForStatement Class

Represents a for statement.

public class ForStatement : AstNodeBase, IStatement, IAstNode
Inheritance:
System.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

ForStatement()

public ForStatement()

Properties

ChildStatement

Gets or sets the child statement.

public IStatement ChildStatement { get; set; }

Property Value

IStatement:

The child statement.

ConditionExpression

Gets or sets the condition expression.

public IExpression ConditionExpression { get; set; }

Property Value

IExpression:

The condition expression.

Id

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

public override int Id { get; }

Property Value

System.Int32:

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

Initializer

Gets or sets the initializer.

public IAstNode Initializer { get; set; }

Property Value

IAstNode:

The initializer.

IteratorExpression

Gets or sets the iterator expression.

public IExpression IteratorExpression { get; set; }

Property Value

IExpression:

The iterator expression.

Methods

GetChildrenEnumerator()

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

protected override IEnumerator<IAstNode> GetChildrenEnumerator()

Returns

System.Collections.Generic.IEnumerator<IAstNode>:

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

Inherited Members