rhai/tests
Stephen Chung 5ee9dfc5cd 1) Change namespaces to iter_namespaces
2) throw can throw any value
2020-10-20 18:09:26 +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 OOP support. 2020-06-26 10:39:18 +08:00
call_fn.rs Encapsulate scope into EvalContext; 2020-10-19 19:11:55 +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 Implement namespaces chain. 2020-10-20 10:54:32 +08:00
comments.rs Make Engine reentrant to prepare for parallel execution. 2020-04-07 13:23:06 +08:00
compound_equality.rs Fix bug in right-shifts. 2020-08-23 18:04:19 +08:00
constants.rs Add is_def_XXX tests. 2020-10-03 21:59:19 +08:00
data_size.rs Simply test error matching. 2020-08-08 16:03:14 +08:00
decrement.rs Add support for String in function parameters. 2020-07-13 13:40:51 +08:00
eval.rs Use scope offset for variable access. 2020-04-28 23:05:03 +08:00
expressions.rs Refine position display in error messages. 2020-06-12 18:04:16 +08:00
float.rs Update docs. 2020-10-19 14:26:15 +08:00
fn_ptr.rs Unbounded -> unbound. 2020-07-30 23:29:11 +08:00
for.rs Map::keys and Map::values can be used method-call style. 2020-10-15 22:11:40 +08:00
functions.rs Add is_def_XXX tests. 2020-10-03 21:59:19 +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 Fix test. 2020-10-16 21:26:38 +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 maximum data size limits. 2020-06-14 14:25:47 +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 Module:;eval_ast_as_new defaults to merging namespaces. 2020-10-03 11:42:54 +08:00
power_of.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
print.rs Make API chainable. 2020-07-12 11:46:53 +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 Fix test. 2020-10-18 22:38:15 +08:00
string.rs Add Dynamic::from(&str) 2020-10-06 21:25:05 +08:00
syntax.rs Encapsulate scope into EvalContext; 2020-10-19 19:11:55 +08:00
throw.rs 1) Change namespaces to iter_namespaces 2020-10-20 18:09:26 +08:00
time.rs Implement +/- operators for timestamp. 2020-09-26 19:45:33 +08:00
tokens.rs Refine unicode-xid-ident feature writeup. 2020-07-29 13:57:17 +08:00
types.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +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 Encapsulate scope into EvalContext; 2020-10-19 19:11:55 +08:00
while_loop.rs Refine docs and tests. 2020-07-06 16:20:03 +08:00

Tests

Rhai engine tests.

How to Run

cargo test