|
Kiwi Engine
VM for interpreter
|
Define KEValue data structure. More...
Go to the source code of this file.
Data Structures | |
| struct | KEValue |
Enumerations | |
| enum | KEValueType { KENilValue, KEBooleanValue, KESignedIntegerValue, KEUnsignedIntegerValue, KEFloatValue, KEStringValue, KEObjectValue } |
Functions | |
| struct KEFrame * | KEFrameInValue (const struct KEValue *src) |
| Get frame in value. More... | |
| struct KEValue | KEMakeFrameValue (struct KEFrame *src) |
| Make the value which has the frame. More... | |
| void | KEUpdateFrameValue (struct KEValue *dst, struct KEFrame *src) |
| Set the value to frame object. More... | |
| struct KEArray * | KEArrayInValue (const struct KEValue *src) |
| Get array in value. More... | |
| struct KEValue | KEMakeArrayValue (struct KEArray *src) |
| Make the value which has the array. More... | |
| void | KEUpdateArrayValue (struct KEValue *dst, struct KEArray *src) |
| Set the value to array object. More... | |
| struct KEDictionary * | KEDictionaryInValue (const struct KEValue *src) |
| Get dictionary in value. More... | |
| struct KEValue | KEMakeDictionaryValue (struct KEDictionary *src) |
| Make the value which has the dictionary. More... | |
| void | KEUpdateDictionaryValue (struct KEValue *dst, struct KEDictionary *src) |
| Set the value to dictionary object. More... | |
| struct KEPath * | KEPathInValue (const struct KEValue *src) |
| Get path in value. More... | |
| struct KEValue | KEMakePathValue (struct KEPath *src) |
| Make the value which has the dictionary. More... | |
| void | KEUpdatePathValue (struct KEValue *dst, struct KEPath *src) |
| Set the value to path object. More... | |
| struct KEFunction * | KEFunctionInValue (const struct KEValue *src) |
| Get function in value. More... | |
| struct KEValue | KEMakeFunctionValue (struct KEFunction *src) |
| Make the value which has the function. More... | |
| void | KEUpdateFunctionValue (struct KEValue *dst, struct KEFunction *src) |
| Set the value to function object. More... | |
| struct KEBuiltinFunc * | KEBuiltinFuncInValue (const struct KEValue *src) |
| Get builtin-func in value. More... | |
| struct KEValue | KEMakeBuiltinFuncValue (struct KEBuiltinFunc *src) |
| Make the value which has the builtin-func. More... | |
| void | KEUpdateBuiltinFuncValue (struct KEValue *dst, struct KEBuiltinFunc *src) |
| Set the value to builtin-func object. More... | |
| const char * | KEStringOfValueType (struct KEValue *src) |
| Get description of given type. More... | |
| void | KEDumpValue (struct CNText *outbuf, const struct KEValue *src) |
| Dump context of the buffer. More... | |
Define KEValue data structure.
| enum KEValueType |
Type of value
Get array in value.
| array | Pointer of the array in value |
| NULL | The value does not have array object |
| src | Source value |
| struct KEBuiltinFunc* KEBuiltinFuncInValue | ( | const struct KEValue * | src | ) |
Get builtin-func in value.
| bfunc | Pointer of the buildin-func in value |
| NULL | The value does not have builtin-func object |
| src | Source value |
| struct KEDictionary* KEDictionaryInValue | ( | const struct KEValue * | src | ) |
Get dictionary in value.
| frame | Pointer of the dictionary in value |
| NULL | The value does not have dictionary object |
| src | Source value |
| void KEDumpValue | ( | struct CNText * | outbuf, |
| const struct KEValue * | src | ||
| ) |
Dump context of the buffer.
| outbuf | Output buffer |
| src | Source value |
Get frame in value.
| frame | Pointer of the frame in value |
| NULL | The value does not have frame object |
| src | Source value |
| struct KEFunction* KEFunctionInValue | ( | const struct KEValue * | src | ) |
Get function in value.
| bfunc | Pointer of the function in value |
| NULL | The value does not have function object |
| src | Source value |
Make the value which has the array.
| src | Source array |
| struct KEValue KEMakeBuiltinFuncValue | ( | struct KEBuiltinFunc * | src | ) |
Make the value which has the builtin-func.
| src | Source builtin-func |
| struct KEValue KEMakeDictionaryValue | ( | struct KEDictionary * | src | ) |
Make the value which has the dictionary.
| src | Source dictionary |
Make the value which has the frame.
| src | Source frame |
| struct KEValue KEMakeFunctionValue | ( | struct KEFunction * | src | ) |
Make the value which has the function.
| src | Source function |
Make the value which has the dictionary.
| src | Source dictionary |
Get path in value.
| frame | Pointer of the path in value |
| NULL | The value does not have path object |
| src | Source value |
| const char* KEStringOfValueType | ( | struct KEValue * | src | ) |
Get description of given type.
| src | Source type |
Set the value to array object.
| dst | Destination value |
| src | Source array object |
| void KEUpdateBuiltinFuncValue | ( | struct KEValue * | dst, |
| struct KEBuiltinFunc * | src | ||
| ) |
Set the value to builtin-func object.
| dst | Destination value |
| src | Source builtin-func object |
| void KEUpdateDictionaryValue | ( | struct KEValue * | dst, |
| struct KEDictionary * | src | ||
| ) |
Set the value to dictionary object.
| dst | Destination value |
| src | Source dictionary object |
Set the value to frame object.
| dst | Destination value |
| src | Source frame object |
| void KEUpdateFunctionValue | ( | struct KEValue * | dst, |
| struct KEFunction * | src | ||
| ) |
Set the value to function object.
| dst | Destination value |
| src | Source function object |
1.8.5