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