Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于脚本校验问题 #541

Closed
SUSTCFather opened this issue May 18, 2023 · 2 comments
Closed

关于脚本校验问题 #541

SUSTCFather opened this issue May 18, 2023 · 2 comments

Comments

@SUSTCFather
Copy link

作者你好,我这边遇到一个困难,就是在跳过运行阶段,去校验脚本的正确性,比如需要获取所有的变量、和获取所有的调用的函数。
获取所有变量好像可以通过getVariableFullNames()获取,但是获取脚本内调用的函数,无法获取,想看看有没啥好办法

@qichhhhh
Copy link

env 返回后通过 com.googlecode.aviator.utils.Env 里的相关方法可以获取到脚本内的函数列表

@killme2008
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants