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

IR for KSIndexedExpression class. More...

#include "KSExpression.h"

Go to the source code of this file.

Data Structures

struct  KSIndexedExpression
 

Functions

struct KSIndexedExpressionKSAllocateIndexedExpression (struct KSExpression *srcexp, struct KSExpression *idxexp, struct KELineInfo *linfo, struct CNResource *resource)
 Allocate postfix-expression object. More...
 
CNBoolean KSIsIndexedExpression (const struct KSExpression *src)
 Check the expression class. More...
 

Detailed Description

IR for KSIndexedExpression class.

Copyright
Copyright (C) 2014 Steel Wheels Project

Function Documentation

struct KSIndexedExpression* KSAllocateIndexedExpression ( struct KSExpression srcexp,
struct KSExpression idxexp,
struct KELineInfo *  linfo,
struct CNResource *  resource 
)

Allocate postfix-expression object.

Returns
Allocated object
Parameters
srcexpSource expression
idxexpIndex expression
linfoLine information
resourceResource to allocate the object
CNBoolean KSIsIndexedExpression ( const struct KSExpression src)

Check the expression class.

Return values
TrueThe source expression is an object of the class
FalseThe source expression is NOT an object of the class
Parameters
srcSource expression