8 #ifndef KSCONSTANTEXPRESSION_H
9 #define KSCONSTANTEXPRESSION_H
IR for KSExpression class.
Definition: KSExpression.h:15
struct KSConstantExpression * KEAllocateFloatExpression(double val, struct KELineInfo *linfo, struct CNResource *resource)
Allocate floating point value expression.
struct KSConstantExpression * KEAllocateStringExpression(struct CNString *val, struct KELineInfo *linfo, struct CNResource *resource)
Allocate boolean string expression.
struct KSConstantExpression * KEAllocateBooleanExpression(CNBoolean val, struct KELineInfo *linfo, struct CNResource *resource)
Allocate boolean constant expression.
struct KSConstantExpression * KEAllocateSignedIntegerExpression(int64_t val, struct KELineInfo *linfo, struct CNResource *resource)
Allocate signed integer constant expression.
struct KEValue constantValue
Definition: KSConstantExpression.h:20
struct KSExpression superClass
Definition: KSConstantExpression.h:18
CNBoolean KSIsConstantExpression(const struct KSExpression *src)
Check the expression class.
Definition: KSConstantExpression.h:16
struct KSConstantExpression * KEAllocateUnsignedIntegerExpression(uint64_t val, struct KELineInfo *linfo, struct CNResource *resource)
Allocate unsigned integer constant expression.