In This Article

ForEachStatement Class

Represents a for each statement.

public class ForEachStatement : Statement, IAstNode
Inheritance:
object AstNodeBase Statement object
Implements:
IAstNode

Remarks

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

Constructors

ForEachStatement()

Initializes an instance of the class.

public ForEachStatement()

Properties

ChildStatement

Gets or sets the child statement.

public Statement ChildStatement { get; set; }

Property Value

Statement:

The child statement.

ElementExpression

Gets or sets the element expression.

public Expression ElementExpression { get; set; }

Property Value

Expression:

The element expression.

EnumerableExpression

Gets or sets the enumerable expression.

public Expression EnumerableExpression { get; set; }

Property Value

Expression:

The enumerable expression.

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.

IsAsync

Gets or sets the is async.

public bool IsAsync { get; set; }

Property Value

bool:

The is async.

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