Show / Hide Table of Contents

Class IrFor

Represents a for loop in the IR.

Inheritance
object
IrNode
IrFor
Inherited Members
IrNode.Line
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VM.Core.IR.Nodes
Assembly: VM.dll
Syntax
public class IrFor : IrNode

Fields

Body

Gets the list of statements in the loop body.

Declaration
public List<IrNode?> Body
Field Value
Type Description
List<IrNode>

From

Gets or sets the expression specifying the starting value.

Declaration
public IrNode? From
Field Value
Type Description
IrNode

Step

Gets or sets the optional expression specifying the step value.

Declaration
public IrNode? Step
Field Value
Type Description
IrNode

To

Gets or sets the expression specifying the ending value.

Declaration
public IrNode? To
Field Value
Type Description
IrNode

VarName

Gets or sets the name of the loop variable.

Declaration
public string VarName
Field Value
Type Description
string
In this article
Back to top Generated by DocFX