Adaptive Framework
0.9.0
|
Struct for compiled value value. More...
#include <afw_value_internal.h>
Data Fields | |
const afw_value_inf_t * | inf |
const afw_pool_t * | p |
Pool containing value. | |
const afw_value_compiled_value_t * | parent |
The parent compiled value or NULL. | |
const afw_value_t * | root_value |
The root value. | |
const afw_compile_value_contextual_t * | contextual |
Contextual Info. | |
const afw_utf8_t * | source_location |
Source location provided to compiler. | |
const afw_utf8_t * | reference_id |
A uuid for this compiled value. | |
const afw_utf8_t * | full_source |
The full source that was compiled. | |
const afw_utf8_t * | full_source_type |
The type of the full source. | |
afw_size_t | line_count |
The total number of lines in source. More... | |
afw_size_t | longest_line |
The longest line excluding . More... | |
afw_value_block_t * | top_block |
afw_value_block_t * | current_block |
const afw_object_t * | literals |
Literal values. More... | |
const afw_object_t * | strings |
Shared strings. More... | |
Struct for compiled value value.
This is the top level value return from the adaptive compiler when the result is more than a literal. It contains the full source that is used by all children values, the symbol table, the literal value table shared strings.
The compiled value can also have a parent where literal values, etc are shared. This parent also contributes to the source location.
Methods of a compiled value value calls the root value's corresponding methods for optional_evaluate(), get_data_type(), get_evaluated_data_type() and get_evaluated_data_type_parameter().
Definition at line 260 of file afw_value_internal.h.
afw_size_t line_count |
The total number of lines in source.
This will be 0 if the source does not have any newlines.
Definition at line 292 of file afw_value_internal.h.
const afw_object_t* literals |
Literal values.
The property name is formed by concatenating the data type, a ':' and the string_value of the literal.
The value is an evaluated value of the data type.
Definition at line 315 of file afw_value_internal.h.
afw_size_t longest_line |
The longest line excluding
.
This will be 0 if the source does not have any newlines.
Definition at line 299 of file afw_value_internal.h.
const afw_object_t* strings |
Shared strings.
The property name is the string and value is an evaluated string.
Definition at line 322 of file afw_value_internal.h.