get_required_files()
function get_required_files(): array
Returns the files included or required by the current program.
Parameters: none.
Returns: array
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/core/get_required_files.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how get_required_files is implemented in the compiler, see the internals page.