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.
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.
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
- AstNodeBase.Contains(int)
- AstNodeBase.FindChildNode(int)
- AstNodeBase.FindDescendantNode(int)
- AstNodeBase.ToString()
- AstNodeBase.ToTreeString(int)
- AstNodeBase.Children
- AstNodeBase.EndOffset
- AstNodeBase.HasChildren
- AstNodeBase.Length
- AstNodeBase.Parent
- AstNodeBase.Root
- AstNodeBase.StartOffset
- AstNodeBase.Value
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()