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

IR for KSIfStatement class. More...

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

Go to the source code of this file.

Data Structures

struct  KSIfStatement
 

Functions

struct KSIfStatementKSAllocateIfStatement (struct KSExpression *condexp, struct KSCompoundStatement *thenstmt, struct KSCompoundStatement *elsestmt, struct KELineInfo *linfo, struct CNResource *resource)
 Allocate for statement. More...
 

Detailed Description

IR for KSIfStatement class.

Copyright
Copyright (C) 2014 Steel Wheels Project

Function Documentation

struct KSIfStatement* KSAllocateIfStatement ( struct KSExpression condexp,
struct KSCompoundStatement thenstmt,
struct KSCompoundStatement elsestmt,
struct KELineInfo *  linfo,
struct CNResource *  resource 
)

Allocate for statement.

Returns
Statement object
Parameters
condexpCondition expression
thenstmtThen statement
elsestmtElse statement (This will ne NULL)
linfoLine information
resourceResource to allocate the object