45 static inline struct KESlot *
46 KEAllocateSlotWithSlot(
struct KESlot * src,
struct CNResource * resource)
56 KERetainSlot(
struct KESlot * dst)
66 KEReleaseSlot(
struct KESlot * dst)
76 static inline struct CNResource *
77 KEResourceOfSlot(
struct KESlot * src)
79 return CNResourceOfObject(&(src->
superClass)) ;
87 static inline const struct CNFixedString *
88 KEIdentifierOfSlot(
const struct KESlot * src)
99 KEValueOfSlot(
struct KESlot * src)
101 return &(src->
value) ;
110 KEUpdateValueInSlot(
struct KESlot * dst,
const struct KEValue * src)
112 KEUpdateValue(&(dst->
value), src) ;
121 KELineInfoInSlot(
struct KESlot * src)
KEProgram class.
Definition: KELineInfo.h:19
Define KEValue data structure.
struct KESlot * KEAllocateSlot(const struct CNFixedString *ident, const struct KEValue *val, struct KELineInfo *linfo, struct CNResource *resource)
Allocate slot for the value.
struct CNFixedString * identifier
Definition: KESlot.h:21
struct KELineInfo * lineInfo
Definition: KESlot.h:25
struct CNObject superClass
Definition: KESlot.h:19
struct KEValue value
Definition: KESlot.h:23