Add AST::iter_literal_variables.

This commit is contained in:
Stephen Chung
2021-11-09 13:22:45 +08:00
parent e63cba9caf
commit f6dc440601
3 changed files with 134 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ New features
* `#[cfg(...)]` attributes can now be put directly on plugin functions or function defined in a plugin module.
* A custom syntax parser can now return a symbol starting with `$$` to inform the implementation function which syntax variant was actually parsed.
* `AST::iter_literal_variables` extracts all top-level literal constant/variable definitions from a script without running it.
Enhancements
------------