Kiwi Script
KiwiScript Interpreter
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
KSExpressionStatement.h
Go to the documentation of this file.
1 
8 #ifndef KSEXPRESSIONSTATEMENT_H
9 #define KSEXPRESSIONSTATEMENT_H
10 
11 #include <KiwiEngine/KiwiEngine.h>
12 #include "KSStatement.h"
13 #include "KSForwarders.h"
14 
23 } ;
24 
32 struct KSExpressionStatement *
34  struct KELineInfo * linfo,
35  struct CNResource * resource) ;
36 
41 static inline void
42 KSRetainExpressionStatement(struct KSExpressionStatement * dst)
43 {
44  KSReleaseStatement(&(dst->superClass)) ;
45 }
46 
51 static inline void
52 KSReleaseExpressionStatement(struct KSExpressionStatement * dst)
53 {
54  KSReleaseStatement(&(dst->superClass)) ;
55 }
56 
57 #endif /* KSEXPRESSIONSTATEMENT_H */
58 
struct KSExpressionStatement * KSAllocateExpressionStatement(struct KSExpression *exp, struct KELineInfo *linfo, struct CNResource *resource)
Allocate for statement.
IR for KSStatement class.
Definition: KSStatement.h:15
Definition: KSExpression.h:15
Definition: KSExpressionStatement.h:18
struct KSExpression * expression
Definition: KSExpressionStatement.h:22
Forward declarations for the KiwiScript.
struct KSStatement superClass
Definition: KSExpressionStatement.h:20