Kiwi Script
KiwiScript Interpreter
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Data Structures | Functions
KSWhileStatement.h File Reference

IR for KSWhileStatement class. More...

#include <KiwiEngine/KiwiEngine.h>
#include "KSStatement.h"
#include "KSForwarders.h"

Go to the source code of this file.

Data Structures

struct  KSWhileStatement
 

Functions

struct KSWhileStatementKSAllocateWhileStatement (struct KSExpression *condexp, struct KSCompoundStatement *bodystmt, struct KELineInfo *linfo, struct CNResource *resource)
 Allocate do-while statement. More...
 

Detailed Description

IR for KSWhileStatement class.

Copyright
Copyright (C) 2014 Steel Wheels Project

Function Documentation

struct KSWhileStatement* KSAllocateWhileStatement ( struct KSExpression condexp,
struct KSCompoundStatement bodystmt,
struct KELineInfo *  linfo,
struct CNResource *  resource 
)

Allocate do-while statement.

Returns
Statement object
Parameters
condexpCondition expression
bodystmtBody statement
linfoLine information
resourceResource to allocate the object