Kiwi Script
KiwiScript Interpreter
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Data Fields
KSForStatement Struct Reference

#include <KSForStatement.h>

Data Fields

struct KSStatement superClass
 
KSForStatementKind kind
 
struct KSVariablevariable
 
union {
   struct {
      struct KSExpression *   collectionExpression
 
   }   collection
 
   struct {
      struct KSExpression *   minRangeExpression
 
      struct KSExpression *   maxRangeExpression
 
   }   range
 
}; 
 
struct KSCompoundStatementbodyStatement
 

Detailed Description

IR for for-loop statement

Field Documentation

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


The documentation for this struct was generated from the following file: