11 #include <Coconut/Coconut.h>
39 KERetainPath(
struct KEPath * dst)
49 KEReleasePath(
struct KEPath * dst)
59 static inline struct CNResource *
60 KEResourceOfPath(
struct KEPath * src)
62 return KEResourceOfObject(&(src->
superClass)) ;
71 KELineInfoOfPath(
struct KEPath * src)
82 KEAppendIdentifierToPath(
struct KEPath * dst,
const struct CNFixedString * src)
93 KEPrependIdentifierToPath(
struct KEPath * dst,
const struct CNFixedString * src)
114 KECountOfIdentifiersInPath(
struct KEPath * src)
124 static inline const struct CNListItem *
125 KEFirstItemInPath(
const struct KEPath * src)
135 static inline const struct CNListItem *
136 KECentinelItemInPath(
const struct KEPath * src)
146 static inline struct CNList
147 KEMakeIdentifierListOfPath(struct
KEPath * src)
KEProgram class.
Definition: KELineInfo.h:19
void KEDumpPath(struct CNText *outbuf, const struct KEPath *src)
Dump context of the path.
struct KELineInfo * lineInfo
Definition: KEPath.h:22
struct KEObject superClass
Definition: KEPath.h:18
Definition: KEObject.h:42
struct KEPath * KEAllocateTailPathInPath(struct KEPath *src)
Allocate path by source path without 1st item.
struct KEPath * KEAllocatePath(struct KELineInfo *linfo, struct CNResource *resource)
Alloxate KEPath object.
struct CNList identifierList
Definition: KEPath.h:20
Forward declarations of the data type in KiwiEngine.
CNBoolean KEAddIdentifiersToPathWithString(struct KEPath *dst, struct CNString *pathstr)
Add multiple identities by the string which contains identifiers and commas.
struct CNString * KEPathToString(const struct KEPath *path, struct CNResource *resource)
Encode path to string.
void KEPrintPath(FILE *outfp, const struct KEPath *src)
Print context of the path.