AstForStatement Class
Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Ast
Represents for loop statement
public class AstForStatement : AstStatement
Inheritance
AstForStatement → AstStatement → AstElement → object
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>) |
