Crate dmntk_evaluator[][src]

Re-exports

pub extern crate dmntk_recognizer;

Macros

not_implemented

Traces invalid type of the value encountered during evaluation. Usually another type is expected in evaluated expression.

trace_invalid_number_of_parameters

Traces invalid number of parameters, usually in functions. Usually, the evaluated function expects another number of input parameters.

trace_invalid_parameter_type
trace_invalid_parameter_value
trace_invalid_value

Traces invalid value encountered during evaluation. Usually the value can not be converted from one type to another or its value is out of expected range.

trace_invalid_value_type

Traces invalid type of the value encountered during evaluation. Usually another type is expected in evaluated expression.

trace_named_parameter_not_found

Functions

enrich_model
evaluate

Evaluates a [Value] from given [AstNode].

evaluate_business_knowledge_model_by_name

Evaluates a business knowledge model specified by name.

evaluate_context

Evaluates a context.

evaluate_decision_by_name

Evaluates a [Decision] defined by specified name.

evaluate_decision_service_by_name

Evaluates a decision service specified by name.

evaluate_decision_table_and_context

Evaluates a decision table against specified context.

evaluate_decision_table_and_test

Evaluates all tests associated with decision table.

evaluate_equals

Compares two values and returns true when the two FEEL values are equal.

evaluate_function

Evaluates function definition.

evaluate_max

Evaluates the maximum value from specified values.

evaluate_min

Evaluates the minimum value from specified values.

evaluate_node_type

Evaluates the type of the AST node.

evaluate_sum

Evaluates the sum of specified values.