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

IR for KSStatement class. More...

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

Go to the source code of this file.

Data Structures

struct  KSStatement
 
struct  KSStatementMethods
 

Typedefs

typedef void(* KSAcceptStatementVisitorFuncRef )(const struct KSStatementVisitor *visitor, struct KSStatement *stmt, void *userinfo)
 

Functions

struct KSStatementKSAllocateStatement (size_t size, const struct KSStatementMethods *methods, struct KELineInfo *linfo, struct CNResource *resource)
 Allocate statement. More...
 

Detailed Description

IR for KSStatement class.

Copyright
Copyright (C) 2014 Steel Wheels Project

Typedef Documentation

typedef void(* KSAcceptStatementVisitorFuncRef)(const struct KSStatementVisitor *visitor, struct KSStatement *stmt, void *userinfo)

Prototypes for the methods

Function Documentation

struct KSStatement* KSAllocateStatement ( size_t  size,
const struct KSStatementMethods methods,
struct KELineInfo *  linfo,
struct CNResource *  resource 
)

Allocate statement.

Returns
Statement object
Parameters
sizeSize of the object
methodsMethods of the object
linfoLine information
resourceResource to allocate the object