C-minor v0.0

AstForStatement Class

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Ast

Represents for loop statement

public class AstForStatement : AstStatement

Inheritance

AstForStatement → AstStatementAstElementobject

Constructors

AstForStatement(Topten.Cminor.Lexical.CodePosition)

Constructor

Fields

CodeBlock

The loop code block

Condition

The condition expression

Initializer

Initial value of the control variable

Iterator

The iterator statement

Overridden & Inherited

Position

The source code position of this element

Visit<T>(IAstStatementVisitor<T>)