154 afw_compile_type_script,
155 NULL, NULL, x->
p, x->
xctx);
158 listing = afw_function_evaluate_whitespace_parameter(x, 2);
299 afw_value_block_statement_type_t type;
302 result = afw_value_block_evaluate_do_while(x,
359 afw_compile_type_script,
360 NULL, NULL, x->
p, x->
xctx);
429 afw_value_block_statement_type_t type;
432 result = afw_value_block_evaluate_for(x,
488 afw_value_block_statement_type_t type;
491 result = afw_value_block_evaluate_foreach(x,
544 afw_value_block_statement_type_t type;
547 result = afw_value_block_evaluate_if(x,
694 afw_value_block_statement_type_t type;
697 result = afw_value_block_evaluate_while(x,
Adaptive Framework Core Internal.
afw_value_create_string(const afw_utf8_t *internal, const afw_pool_t *p, afw_xctx_t *xctx)
Create function for unmanaged data type string value.
#define afw_compile_to_value(string, source_location, compile_type, parent, shared, p, xctx)
Compile string to adaptive value.
#define AFW_THROW_ERROR_Z(code, message_z, xctx)
Macro used to set error and 0 rv in xctx and throw it.
#define AFW_FUNCTION_SOURCE_LOCATION
Source location of a value.
#define AFW_FUNCTION_EVALUATE_REQUIRED_DATA_TYPE_PARAMETER(A_RESULT, A_N, A_TYPE)
Evaluate an arg for a particular data type.
#define AFW_FUNCTION_PARAMETER_IS_PRESENT(A_N)
Determine if a specific parameter value is present.
const afw_value_t * afw_function_execute_assign(afw_function_execute_t *x)
Adaptive Function assign
const afw_value_t * afw_function_execute_loc(afw_function_execute_t *x)
Adaptive Function loc
const afw_value_t * afw_function_execute_continue(afw_function_execute_t *x)
Adaptive Function continue
const afw_value_t * afw_function_execute_evaluate_script(afw_function_execute_t *x)
Adaptive Function evaluate<script>
const afw_value_t * afw_function_execute_foreach(afw_function_execute_t *x)
Adaptive Function foreach
const afw_value_t * afw_function_execute_do_while(afw_function_execute_t *x)
Adaptive Function do_while
const afw_value_t * afw_function_execute_const(afw_function_execute_t *x)
Adaptive Function const
const afw_value_t * afw_function_execute_break(afw_function_execute_t *x)
Adaptive Function break
const afw_value_t * afw_function_execute_compile_script(afw_function_execute_t *x)
Adaptive Function compile<script>
const afw_value_t * afw_function_execute_for(afw_function_execute_t *x)
Adaptive Function for
const afw_value_t * afw_function_execute_if(afw_function_execute_t *x)
Adaptive Function if
const afw_value_t * afw_function_execute_while(afw_function_execute_t *x)
Adaptive Function while
const afw_value_t * afw_function_execute_return(afw_function_execute_t *x)
Adaptive Function return
afw_value_compiler_listing_to_string(const afw_value_t *value, const afw_utf8_t *tab, const afw_pool_t *p, afw_xctx_t *xctx)
Decompile a value to a compiler listing string.
#define afw_value_evaluate(value, p, xctx)
Evaluate value if needed using specific pool.
afw_value_evaluate_with_additional_untrusted_qualified_variables(const afw_value_t *value, const afw_value_t *untrusted_qualified_variables, const afw_pool_t *p, afw_xctx_t *xctx)
Evaluate a value with additional insecure context.
Function execute parameter.
const afw_value_t *const * argv
This is the function parameters.
afw_xctx_t * xctx
The execution context (xctx) of caller.
const afw_pool_t * p
Pool for result.
afw_size_t argc
This is the argv count not counting argv[0].
NFC normalized UTF-8 string.
Interface afw_value public struct.
struct for data type script values.