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

IR for KSExpression class. More...

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

Go to the source code of this file.

Data Structures

struct  KSExpression
 
struct  KSExpressionMethods
 

Typedefs

typedef void(* KSAcceptExpressionVisitorFuncRef )(const struct KSExpressionVisitor *visitor, struct KSExpression *exp, void *userinfo)
 

Functions

struct KSExpressionKSAllocateExpression (size_t size, const struct KSExpressionMethods *methods, struct KELineInfo *linfo, struct CNResource *resource)
 Allocate expression. More...
 

Detailed Description

IR for KSExpression class.

Copyright
Copyright (C) 2014 Steel Wheels Project

Typedef Documentation

typedef void(* KSAcceptExpressionVisitorFuncRef)(const struct KSExpressionVisitor *visitor, struct KSExpression *exp, void *userinfo)

Prototypes for the methods

Function Documentation

struct KSExpression* KSAllocateExpression ( size_t  size,
const struct KSExpressionMethods methods,
struct KELineInfo *  linfo,
struct CNResource *  resource 
)

Allocate expression.

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