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

Functions

const afw_value_tafw_function_execute_compile_regexp (afw_function_execute_t *x)
 Adaptive Function compile<regexp> More...
 

Variables

 afw_function_definition_compile_regexp
 Function definition compile<regexp>
 
 afw_function_definition_eq_regexp
 Function definition eq<regexp>
 
 afw_function_definition_eqx_regexp
 Adaptive Function eq<regexp> More...
 
 afw_function_definition_ge_regexp
 Adaptive Function eqx<regexp> More...
 
 afw_function_definition_gt_regexp
 Adaptive Function ge<regexp> More...
 
 afw_function_definition_le_regexp
 Adaptive Function gt<regexp> More...
 
 afw_function_definition_lt_regexp
 Adaptive Function le<regexp> More...
 
 afw_function_definition_ne_regexp
 Adaptive Function lt<regexp> More...
 
 afw_function_definition_nex_regexp
 Adaptive Function ne<regexp> More...
 
 afw_function_definition_regexp
 Adaptive Function nex<regexp> More...
 

Detailed Description

regexp adaptive functions.

Function Documentation

◆ afw_function_execute_compile_regexp()

const afw_value_t* afw_function_execute_compile_regexp ( afw_function_execute_t x)

Adaptive Function compile<regexp>

Parameters
xfunction execute parameter.

Compile regexp value and return either an unevaluated adaptive value or a string containing the compiler listing.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function compile<regexp>(
source: regexp,
listing?: any
): unevaluated;

Parameters:

source - (regexp) regexp string to compile.

listing - (optional any dataType) If specified, a compiler listing is produced instead of an unevaluated expression value.

This parameter can be an integer between 0 and 10 of a string that is used for indentation. If 0 is specified, no whitespace is added to the resulting string. If 1 through 10 is specified, that number of spaces is used.

Returns:

(unevaluated)

Definition at line 57 of file afw_function_regexp.c.

Variable Documentation

◆ afw_function_definition_eqx_regexp

afw_function_definition_eqx_regexp

Adaptive Function eq<regexp>

Parameters
xfunction execute parameter.

Determine if regexp arg1 is equal to the value of arg2 converted to the data type of arg1 then return the boolean result. Use "eqx" ("===") instead if you want false to be returned if arg1 and arg2's data type don't match.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function eq<regexp>(
arg1: regexp,
arg2: any
): boolean;

Parameters:

arg1 - (regexp)

arg2 - (any dataType)

Returns:

(boolean)

Errors thrown:

conversion - arg2 cannot be converted to the data type of arg1.

Implemented by afw_function_execute_eq()


Function definition eqx<regexp>

Definition at line 23971 of file afw_function_bindings.h.

◆ afw_function_definition_ge_regexp

afw_function_definition_ge_regexp

Adaptive Function eqx<regexp>

Parameters
xfunction execute parameter.

Determine if for regexp arg1 is equal to the value and data type of arg2 then return the boolean result. Use "eq" ("==") instead if you want arg2 to be converted to the data type of arg1 before comparison.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function eqx<regexp>(
arg1: regexp,
arg2: any
): boolean;

Parameters:

arg1 - (regexp)

arg2 - (any dataType)

Returns:

(boolean)

Implemented by afw_function_execute_eqx()


Function definition ge<regexp>

Definition at line 24010 of file afw_function_bindings.h.

◆ afw_function_definition_gt_regexp

afw_function_definition_gt_regexp

Adaptive Function ge<regexp>

Parameters
xfunction execute parameter.

Checks for regexp arg1 is greater than or equal to regexp arg2 and return the boolean result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function ge<regexp>(
arg1: regexp,
arg2: regexp
): boolean;

Parameters:

arg1 - (regexp)

arg2 - (regexp)

Returns:

(boolean)

Implemented by afw_function_execute_ge()


Function definition gt<regexp>

Definition at line 24048 of file afw_function_bindings.h.

◆ afw_function_definition_le_regexp

afw_function_definition_le_regexp

Adaptive Function gt<regexp>

Parameters
xfunction execute parameter.

Checks for regexp arg1 is greater than regexp arg2 and return the boolean result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function gt<regexp>(
arg1: regexp,
arg2: regexp
): boolean;

Parameters:

arg1 - (regexp)

arg2 - (regexp)

Returns:

(boolean)

Implemented by afw_function_execute_gt()


Function definition le<regexp>

Definition at line 24086 of file afw_function_bindings.h.

◆ afw_function_definition_lt_regexp

afw_function_definition_lt_regexp

Adaptive Function le<regexp>

Parameters
xfunction execute parameter.

Checks for regexp arg1 is less than or equal to regexp arg2 and return the boolean result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function le<regexp>(
arg1: regexp,
arg2: any
): boolean;

Parameters:

arg1 - (regexp)

arg2 - (any dataType)

Returns:

(boolean)

Implemented by afw_function_execute_le()


Function definition lt<regexp>

Definition at line 24124 of file afw_function_bindings.h.

◆ afw_function_definition_ne_regexp

afw_function_definition_ne_regexp

Adaptive Function lt<regexp>

Parameters
xfunction execute parameter.

Checks for regexp arg1 is less that regexp arg2 and return the boolean result.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function lt<regexp>(
arg1: regexp,
arg2: regexp
): boolean;

Parameters:

arg1 - (regexp)

arg2 - (regexp)

Returns:

(boolean)

Implemented by afw_function_execute_lt()


Function definition ne<regexp>

Definition at line 24162 of file afw_function_bindings.h.

◆ afw_function_definition_nex_regexp

afw_function_definition_nex_regexp

Adaptive Function ne<regexp>

Parameters
xfunction execute parameter.

Determine if regexp arg1 is not equal to the value of arg2 converted to the data type of arg1 then return the boolean result. Use "nex" ("!==") instead if you want true to be returned if arg1 and arg2's data type don't match.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function ne<regexp>(
arg1: regexp,
arg2: any
): boolean;

Parameters:

arg1 - (regexp)

arg2 - (any dataType)

Returns:

(boolean)

Errors thrown:

conversion - arg2 cannot be converted to the data type of arg1.

Implemented by afw_function_execute_ne()


Function definition nex<regexp>

Definition at line 24205 of file afw_function_bindings.h.

◆ afw_function_definition_regexp

afw_function_definition_regexp

Adaptive Function nex<regexp>

Parameters
xfunction execute parameter.

Determine if for regexp arg1 is not equal to the value or data type of arg2 then return the boolean result. Use "ne" ("!=") instead if you want arg2 to be converted to the data type of arg1 before comparison.

This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.

Declaration:

function nex<regexp>(
arg1: regexp,
arg2: any
): boolean;

Parameters:

arg1 - (regexp)

arg2 - (any dataType)

Returns:

(boolean)

Implemented by afw_function_execute_nex()


Function definition regexp

Definition at line 24244 of file afw_function_bindings.h.