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

IR for KSAssignmentExpression class. More...

#include "KSExpression.h"

Go to the source code of this file.

Data Structures

struct  KSAssignmentExpression
 

Enumerations

enum  KSAssignmentOperator {
  KSAssignmentEqual, KSAssignmentAddEqual, KSAssignmentSubEqual, KSAssignmentMulEqual,
  KSAssignmentDivEqual, KSAssignmentModEqual, KSAssignmentBitAndEqual, KSAssignmentBitOrEqual,
  KSAssignmentBitXorEqual, KSAssignmentLeftShiftEqual, KSAssignmentRightShiftEqual
}
 

Functions

struct KSAssignmentExpressionKSAllocateAssignmentExpression (KSAssignmentOperator op, struct KSExpression *dstexp, struct KSExpression *srcexp, struct KELineInfo *linfo, struct CNResource *resource)
 Allocate postfix-expression object. More...
 
CNBoolean KSIsAssignmentExpression (const struct KSExpression *src)
 Check the expression class. More...
 

Detailed Description

IR for KSAssignmentExpression class.

Copyright
Copyright (C) 2014 Steel Wheels Project

Enumeration Type Documentation

Operators for KSAssignmentExpression

Function Documentation

struct KSAssignmentExpression* KSAllocateAssignmentExpression ( KSAssignmentOperator  op,
struct KSExpression dstexp,
struct KSExpression srcexp,
struct KELineInfo *  linfo,
struct CNResource *  resource 
)

Allocate postfix-expression object.

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