Copyright © (c) WhatsApp Inc. and its affiliates. All rights reserved.
Authors: Maxim Fedorov (maximfca@gmail.com).
Implements Erlang interpreter via eval/3 function.
Allows to 'call' functions that are not exported by interpreting function code.eval/3 | Performs erlang:apply(Module, Fun, Args) by evaluating AST of Module:Fun. |
eval(Module::module(), Fun::atom(), Args::[term()]) -> term()
Module: Module name, must be either loaded or discoverable with code:which() or filelib:find_source()
Fun: function name, may not be exported
Args: List of arguments
Performs erlang:apply(Module, Fun, Args) by evaluating AST of Module:Fun.
Generated by EDoc