A struct that holds compile time environment information.
The current environment can be accessed at any time as
__ENV__. Inside macros, the caller environment can be
accessed as __CALLER__. It contains the following fields:
module- the current module namefile- the current file name as a binaryline- the current line as an integerfunction- a tuple as{atom, integer}, where the first element is the function name and the seconds its arity; returnsnilif not inside a functioncontext- the context of the environment; it can benil(default context), inside a guard or inside an assignaliases- a list of two item tuples, where the first item is the aliased name and the second the actual namerequires- the list of required modulesfunctions- a list of functions imported from each modulemacros- a list of macros imported from each modulemacro_aliases- a list of aliases defined inside the current macrocontext_modules- a list of modules defined in the current contextvars- a list keeping all defined variables as{var, context}export_vars- a list keeping all variables to be exported in a construct (may benil)lexical_tracker- PID of the lexical tracker which is responsible to keep user infolocal- the module to expand local functions to