Kiwi Script
KiwiScript Interpreter
|
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 KSAssignmentExpression * | KSAllocateAssignmentExpression (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... | |
IR for KSAssignmentExpression class.
enum KSAssignmentOperator |
Operators for KSAssignmentExpression
struct KSAssignmentExpression* KSAllocateAssignmentExpression | ( | KSAssignmentOperator | op, |
struct KSExpression * | dstexp, | ||
struct KSExpression * | srcexp, | ||
struct KELineInfo * | linfo, | ||
struct CNResource * | resource | ||
) |
Allocate postfix-expression object.
op | Assignment operator |
dstexp | Destination expression |
srcexp | Source expression |
linfo | Line information |
resource | Resource to allocate the object |
CNBoolean KSIsAssignmentExpression | ( | const struct KSExpression * | src | ) |
Check the expression class.
True | The source expression is an object of the class |
False | The source expression is NOT an object of the class |
src | Source expression |