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

IR for KSPostfixExpression class. More...

#include "KSExpression.h"

Go to the source code of this file.

Data Structures

struct  KSPostfixExpression
 

Enumerations

enum  KSPostfixOperator { KSPostfixInc, KSPostfixDec }
 

Functions

struct KSPostfixExpressionKSAllocatePostfixExpression (KSPostfixOperator op, struct KSExpression *srcexp, struct KELineInfo *linfo, struct CNResource *resource)
 Allocate postfix-expression object. More...
 
CNBoolean KSIsPostfixExpression (const struct KSExpression *src)
 Check the expression class. More...
 

Detailed Description

IR for KSPostfixExpression class.

Copyright
Copyright (C) 2014 Steel Wheels Project

Enumeration Type Documentation

Operators for KSPostfixExpression

Function Documentation

struct KSPostfixExpression* KSAllocatePostfixExpression ( KSPostfixOperator  op,
struct KSExpression srcexp,
struct KELineInfo *  linfo,
struct CNResource *  resource 
)

Allocate postfix-expression object.

Returns
Allocated object
Parameters
opPostfix operator
srcexpSource expression
linfoLine information
resourceResource to allocate the object
CNBoolean KSIsPostfixExpression ( 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