|
Kiwi Script
KiwiScript Interpreter
|
#include <KSForStatement.h>
Data Fields | |
| struct KSStatement | superClass |
| KSForStatementKind | kind |
| struct KSVariable * | variable |
| union { | |
| struct { | |
| struct KSExpression * collectionExpression | |
| } collection | |
| struct { | |
| struct KSExpression * minRangeExpression | |
| struct KSExpression * maxRangeExpression | |
| } range | |
| }; | |
| struct KSCompoundStatement * | bodyStatement |
IR for for-loop statement
| union { ... } |
Iteration range
| struct KSCompoundStatement* KSForStatement::bodyStatement |
Loop body
| struct KSExpression* KSForStatement::collectionExpression |
Collection
| KSForStatementKind KSForStatement::kind |
Kind of for statement
| struct KSExpression* KSForStatement::maxRangeExpression |
Max value of range
| struct KSExpression* KSForStatement::minRangeExpression |
Min value of range
| struct KSStatement KSForStatement::superClass |
Super class
| struct KSVariable* KSForStatement::variable |
Iterator variable
1.8.5