17 #define impl_afw_value_optional_release NULL
18 #define impl_afw_value_get_reference NULL
21 #define impl_afw_value_get_evaluated_meta \
22 afw_value_internal_get_evaluated_meta_for_object
24 #define impl_afw_value_get_evaluated_metas \
25 afw_value_internal_get_evaluated_metas_for_object
28 #define AFW_IMPLEMENTATION_ID "object_expression"
29 #define AFW_IMPLEMENTATION_INF_SPECIFIER AFW_DEFINE_CONST_DATA
30 #define AFW_IMPLEMENTATION_INF_LABEL afw_value_object_expression_inf
49 self->internal =
internal;
71 for (iterator = NULL;;) {
88 impl_afw_value_get_data_type(
99 impl_afw_value_get_evaluated_data_type(
111 impl_afw_value_get_evaluated_data_type_parameter(
122 impl_afw_value_produce_compiler_listing(
129 writer, instance, xctx);
136 impl_afw_value_decompile(
152 impl_afw_value_get_info(
162 info->value_inf_id = &instance->inf->rti.implementation_id;
163 info->contextual =
self->contextual;
AFW_DEFINE(const afw_object_t *)
Adaptive Framework Core Internal.
Interface afw_interface implementation declares.
afw_data_type_object
Data type struct for object.
afw_value_create_object(const afw_object_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
Create function for unmanaged data type object value.
struct afw_iterator_s afw_iterator_t
#define afw_data_type_value_compiler_listing(instance, writer, value, xctx)
Call method value_compiler_listing of interface afw_data_type.
#define afw_data_type_write_as_expression(instance, writer, from_internal, xctx)
Call method write_as_expression of interface afw_data_type.
#define afw_memory_clear(to)
Clear preallocated memory for sizeof(*(to)).
#define afw_object_get_next_property(instance, iterator, property_name, xctx)
Call method get_next_property of interface afw_object.
#define afw_object_create(p, xctx)
Create an empty unmanaged object in memory.
afw_object_set_property(const afw_object_t *instance, const afw_utf8_t *property_name, const afw_value_t *value, afw_xctx_t *xctx)
Set the value of an object's property.
#define afw_pool_calloc(instance, size, xctx)
Call method calloc of interface afw_pool.
const afw_value_t * impl_afw_value_optional_evaluate(const afw_value_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
#define afw_value_evaluate(value, p, xctx)
Evaluate value if needed using specific pool.
afw_value_object_expression_inf
Value object expression inf.
afw_value_create_object_expression(const afw_compile_value_contextual_t *contextual, const afw_object_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
Create function for object expression value.
Contextual information provided in some values.
Interface afw_data_type public struct.
Interface afw_object public struct.
Interface afw_pool public struct.
NFC normalized UTF-8 string.
Struct to access internal of all evaluated values.
Filled in by afw_value get_info method.
struct for object expression value.
Interface afw_value public struct.
Interface afw_writer public struct.
Interface afw_xctx public struct.