Kiwi Script
KiwiScript Interpreter
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
KSWhileStatement.h
Go to the documentation of this file.
1 
8 #ifndef KSWHILESTATEMENT_H
9 #define KSWHILESTATEMENT_H
10 
11 #include <KiwiEngine/KiwiEngine.h>
12 #include "KSStatement.h"
13 #include "KSForwarders.h"
14 
25 } ;
26 
35 struct KSWhileStatement *
36 KSAllocateWhileStatement(struct KSExpression * condexp, struct KSCompoundStatement * bodystmt, struct KELineInfo * linfo, struct CNResource * resource) ;
37 
42 static inline void
43 KSRetainWhileStatement(struct KSWhileStatement * dst)
44 {
45  KSReleaseStatement(&(dst->superClass)) ;
46 }
47 
52 static inline void
53 KSReleaseWhileStatement(struct KSWhileStatement * dst)
54 {
55  KSReleaseStatement(&(dst->superClass)) ;
56 }
57 
58 #endif /* KSWHILESTATEMENT_H */
59 
IR for KSStatement class.
Definition: KSStatement.h:15
Definition: KSExpression.h:15
struct KSCompoundStatement * bodyStatement
Definition: KSWhileStatement.h:24
Definition: KSWhileStatement.h:18
struct KSExpression * conditionExpression
Definition: KSWhileStatement.h:22
struct KSWhileStatement * KSAllocateWhileStatement(struct KSExpression *condexp, struct KSCompoundStatement *bodystmt, struct KELineInfo *linfo, struct CNResource *resource)
Allocate do-while statement.
struct KSStatement superClass
Definition: KSWhileStatement.h:20
Definition: KSCompoundStatement.h:18
Forward declarations for the KiwiScript.