17 #define impl_afw_value_optional_release NULL
18 #define impl_afw_value_get_reference NULL
22 #define impl_afw_value_get_evaluated_meta \
23 afw_value_internal_get_evaluated_meta_for_list
25 #define impl_afw_value_get_evaluated_metas \
26 afw_value_internal_get_evaluated_metas_for_list
29 #define AFW_IMPLEMENTATION_ID "list_expression"
30 #define AFW_IMPLEMENTATION_INF_SPECIFIER AFW_DEFINE_CONST_DATA
31 #define AFW_IMPLEMENTATION_INF_LABEL afw_value_list_expression_inf
47 self->contextual = contextual;
48 self->internal =
internal;
74 impl_afw_value_get_data_type(
85 impl_afw_value_get_evaluated_data_type(
97 impl_afw_value_get_evaluated_data_type_parameter(
108 impl_afw_value_produce_compiler_listing(
116 afw_value_compiler_listing_begin_value(writer, instance,
117 self->contextual, xctx);
122 afw_value_compiler_listing_value(self->internal, writer, xctx);
133 impl_afw_value_decompile(
150 impl_afw_value_get_info(
160 info->value_inf_id = &instance->inf->rti.implementation_id;
161 info->contextual =
self->contextual;
AFW_DEFINE(const afw_object_t *)
Adaptive Framework Core Internal.
Interface afw_interface implementation declares.
afw_data_type_list
Data type struct for list.
#define afw_memory_clear(to)
Clear preallocated memory for sizeof(*(to)).
#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_create_list_expression(const afw_compile_value_contextual_t *contextual, const afw_value_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
Create function for list expression value.
afw_value_decompile_value(const afw_value_t *instance, const afw_writer_t *writer, afw_xctx_t *xctx)
Decompile Value::.
afw_value_list_expression_inf
Value list expression inf.
#define afw_writer_increment_indent(instance, xctx)
Call method increment_indent of interface afw_writer.
#define afw_writer_write_eol(instance, xctx)
Call method write_eol of interface afw_writer.
#define afw_writer_decrement_indent(instance, xctx)
Call method decrement_indent of interface afw_writer.
#define afw_writer_write_z(writer, s_z, xctx)
Call afw_writer_write() with zero terminated string.
Contextual information provided in some values.
Interface afw_data_type public struct.
Interface afw_pool public struct.
NFC normalized UTF-8 string.
Filled in by afw_value get_info method.
struct for list expression value.
Interface afw_value public struct.
Interface afw_writer public struct.
Interface afw_xctx public struct.