Kiwi Script
KiwiScript Interpreter
|
IR for KSConditionalExpression class. More...
#include "KSExpression.h"
Go to the source code of this file.
Data Structures | |
struct | KSConditionalExpression |
Functions | |
struct KSConditionalExpression * | KSAllocateConditionalExpression (struct KSExpression *condexp, struct KSExpression *thenexp, struct KSExpression *elseexp, struct KELineInfo *linfo, struct CNResource *resource) |
Allocate unary-expression object. More... | |
CNBoolean | KSIsConditionalExpression (const struct KSExpression *src) |
Check the expression class. More... | |
IR for KSConditionalExpression class.
struct KSConditionalExpression* KSAllocateConditionalExpression | ( | struct KSExpression * | condexp, |
struct KSExpression * | thenexp, | ||
struct KSExpression * | elseexp, | ||
struct KELineInfo * | linfo, | ||
struct CNResource * | resource | ||
) |
Allocate unary-expression object.
condexp | Source conditional expression |
thenexp | Source then expression |
elseexp | Source else expression |
linfo | Line information |
resource | Resource to allocate the object |
CNBoolean KSIsConditionalExpression | ( | 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 |