Add ScriptFnMetadata.

This commit is contained in:
Stephen Chung
2020-12-12 18:44:28 +08:00
parent 1087c338bd
commit 26449a9f1c
6 changed files with 57 additions and 29 deletions

View File

@@ -15,7 +15,7 @@ Breaking changes
* `Engine::on_progress` now takes `u64` instead of `&u64`.
* The closure for `Engine::on_debug` now takes an additional `Position` parameter.
* `AST::iter_functions` returns a slice of parameter names instead of the internal `ScriptFnDef`.
* `AST::iter_functions` now returns `ScriptFnMetadata`.
Enhancements
------------