Split AST into separate files.

This commit is contained in:
Stephen Chung
2021-12-17 16:07:13 +08:00
parent b1b2c62d7d
commit c7ec27acc7
16 changed files with 2693 additions and 2614 deletions

View File

@@ -296,7 +296,7 @@ fn test_call_fn_events() -> Result<(), Box<EvalAltResult>> {
"end" => engine.call_fn(scope, ast, "end", (event_data,)).unwrap(),
// The 'update' event maps to function 'update'.
// This event provides a default implementation when the scripted function is not found.
// This event provides a default implementation when the script-defined function is not found.
"update" => engine
.call_fn(scope, ast, "update", (event_data,))
.or_else(|err| match *err {