rhai/tests
2020-11-30 11:20:51 +08:00
..
arrays.rs Update docs. 2020-10-19 14:26:15 +08:00
binary_ops.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
bit_shift.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
bool_op.rs Optimize in-place. 2020-11-12 12:37:42 +08:00
call_fn.rs Add test to make sure call_fn does not pollute scope. 2020-11-06 13:41:04 +08:00
chars.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
closures.rs Add FnNamespace for module functions. 2020-11-17 12:23:53 +08:00
comments.rs Expr::Switch -> Stmt::Switch. 2020-11-14 23:43:36 +08:00
compound_equality.rs Fix bug in right-shifts. 2020-08-23 18:04:19 +08:00
constants.rs Fix constant example. 2020-11-21 14:46:05 +08:00
data_size.rs Add constant NO_POS. 2020-11-02 12:50:27 +08:00
decrement.rs Add support for String in function parameters. 2020-07-13 13:40:51 +08:00
eval.rs Prefer Engine::disable_symbol to disable eval. 2020-11-21 15:08:18 +08:00
expressions.rs Refine position display in error messages. 2020-06-12 18:04:16 +08:00
float.rs Allow floating point numbers ending in a period. 2020-11-23 22:51:21 +08:00
fn_ptr.rs Fix error messages. 2020-11-11 13:25:45 +08:00
for.rs Expose methods for Engine::register_module. 2020-11-16 14:07:48 +08:00
functions.rs Minor cleanup before release. 2020-10-22 12:26:44 +08:00
get_set.rs Update docs. 2020-10-19 14:26:15 +08:00
if_block.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
increment.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
internal_fn.rs Support for trailing commas. 2020-06-16 22:14:46 +08:00
looping.rs Simply test error matching. 2020-08-08 16:03:14 +08:00
maps.rs Handle #{ in Engine::parse_json, restrict to object hashes only. 2020-08-18 23:07:17 +08:00
math.rs Add parse_int and parse_float. 2020-09-23 12:00:03 +08:00
method_call.rs Update docs. 2020-10-19 14:26:15 +08:00
mismatched_op.rs Update docs. 2020-10-19 14:26:15 +08:00
modules.rs Set namespace in Module::set_fn_XXX_mut calls. 2020-11-17 15:11:58 +08:00
not.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
number_literals.rs Enable dots on numbers to parse as method calls. 2020-09-23 22:48:28 +08:00
operations.rs Add constant NO_POS. 2020-11-02 12:50:27 +08:00
ops.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
optimizer.rs Reduce max call stack size for debug. 2020-10-08 23:00:01 +08:00
packages.rs Module:;eval_ast_as_new defaults to merging namespaces. 2020-10-03 11:42:54 +08:00
plugins_register.rs Revise docs. 2020-09-28 22:14:19 +08:00
plugins_unroll.rs Revise docs. 2020-09-28 22:14:19 +08:00
plugins.rs Move definition of Array and Map to lib.rs. 2020-11-16 21:14:32 +08:00
power_of.rs Add f32_float feature. 2020-11-01 15:48:48 +08:00
print.rs Print arrays and maps with to_debug. 2020-11-30 11:20:51 +08:00
README.md Add README's. 2020-10-07 22:56:21 +08:00
serde.rs Fix serde test. 2020-10-10 14:15:23 +08:00
side_effects.rs Fix tests. 2020-08-06 00:24:25 +08:00
stack.rs Don't wrap system errors from function calls. 2020-10-28 14:10:46 +08:00
string.rs Add Dynamic::from(&str) 2020-10-06 21:25:05 +08:00
switch.rs Expr::Switch -> Stmt::Switch. 2020-11-14 23:43:36 +08:00
syntax.rs Fix LexError::ImproperSymbol. 2020-11-21 15:15:14 +08:00
throw.rs Fix throw test. 2020-10-20 23:30:01 +08:00
time.rs Implement +/- operators for timestamp. 2020-09-26 19:45:33 +08:00
tokens.rs Add constant NO_POS. 2020-11-02 12:50:27 +08:00
types.rs Add f32_float feature. 2020-11-01 15:48:48 +08:00
unary_after_binary.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
unary_minus.rs Implement variable resolver. 2020-10-11 21:58:11 +08:00
unit.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
var_scope.rs Update comments with links. 2020-11-20 16:52:28 +08:00
while_loop.rs do loop. 2020-11-20 22:23:37 +08:00

Tests

Rhai engine tests.

How to Run

cargo test