Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Structures | Macros | Functions

Header file for Adaptive Framework Runtime Basic Function Support. More...

#include "afw_interface.h"

Go to the source code of this file.

Data Structures

struct  afw_function_execute_s
 Function execute parameter. More...
 
struct  afw_function_environment_s
 

Macros

#define AFW_FUNCTION_EXECUTE_STANDARD_POLYMORPHIC_FUNCTION_HANDLING   NULL
 Function execute is handled by standard polymorphic function handling. More...
 
#define AFW_FUNCTION_ARGV(A_N)   ((A_N <= x->argc) ? x->argv[A_N] : NULL)
 Get the unevaluated argv value or NULL. More...
 
#define AFW_FUNCTION_ASSERT_PARAMETER_COUNT_IS(n)
 Assert that argc is a specific number. More...
 
#define AFW_FUNCTION_ASSERT_PARAMETER_COUNT_MIN(n)
 Assert that argc is at least a specific number. More...
 
#define AFW_FUNCTION_ASSERT_PARAMETER_COUNT_MAX(n)
 Assert that argc is no more than specific number. More...
 
#define AFW_FUNCTION_ASSERT_VALUE_IS_UTF8(A_VALUE)
 Assert that a value is at data type with cType of afw_utf8_t. More...
 
#define AFW_FUNCTION_PARAMETER_IS_PRESENT(A_N)    (AFW_FUNCTION_ARGV(A_N) != NULL)
 Determine if a specific parameter value is present. More...
 
#define AFW_FUNCTION_EVALUATE_DATA_TYPE_PARAMETER(A_RESULT, A_N, A_TYPE)
 Evaluate an arg for a particular data type. More...
 
#define AFW_FUNCTION_EVALUATE_PARAMETER(A_RESULT, A_N)   A_RESULT = afw_function_evaluate_parameter(x, A_N, NULL)
 Evaluate a parameter. More...
 
#define AFW_FUNCTION_EVALUATE_REQUIRED_PARAMETER(A_RESULT, A_N)   A_RESULT = afw_function_evaluate_required_parameter(x, A_N, NULL);
 Evaluate an required parameter. More...
 
#define AFW_FUNCTION_EVALUATE_REQUIRED_CONDITION_PARAMETER(A_RESULT, A_N)
 Evaluate an arg that is a required condition. More...
 
#define AFW_FUNCTION_EVALUATE_REQUIRED_DATA_TYPE_PARAMETER(A_RESULT, A_N, A_TYPE)
 Evaluate an arg for a particular data type. More...
 
#define AFW_FUNCTION_SOURCE_LOCATION
 Source location of a value. More...
 

Functions

const afw_value_tafw_function_evaluate_function_parameter (const afw_value_t *function_arg, const afw_pool_t *p, afw_xctx_t *xctx)
 
const afw_utf8_tafw_function_evaluate_whitespace_parameter (afw_function_execute_t *x, afw_size_t n)
 
const afw_value_tafw_function_evaluate_parameter (afw_function_execute_t *x, afw_size_t parameter_number, const afw_data_type_t *data_type)
 Evaluate a parameter and convert if necessary. More...
 
 afw_function_evaluate_required_parameter (afw_function_execute_t *x, afw_size_t parameter_number, const afw_data_type_t *data_type)
 Evaluate an required parameter and convert if necessary. More...
 
const afw_value_tafw_function_evaluate_parameter_with_type (const afw_value_t *value, afw_size_t parameter_number, const afw_value_type_t *type, const afw_pool_t *p, afw_xctx_t *xctx)
 Evaluate a parameter with dataTypeParameter. More...
 

Detailed Description

Header file for Adaptive Framework Runtime Basic Function Support.

Definition in file afw_function.h.