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

IR for KSCaseStatement class. More...

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

Go to the source code of this file.

Data Structures

struct  KSCaseStatement
 

Functions

struct KSCaseStatementKSAllocateCaseStatement (struct CNList *explist, struct KSCompoundStatement *bodystmt, struct KELineInfo *linfo, struct CNResource *resource)
 Allocate for statement. More...
 

Detailed Description

IR for KSCaseStatement class.

Copyright
Copyright (C) 2014 Steel Wheels Project

Function Documentation

struct KSCaseStatement* KSAllocateCaseStatement ( struct CNList *  explist,
struct KSCompoundStatement bodystmt,
struct KELineInfo *  linfo,
struct CNResource *  resource 
)

Allocate for statement.

Returns
Statement object
Parameters
explistList of KSExpressions for label
bodystmtBody statement
linfoLine information
resourceResource to allocate the object