Project Alice
Loading...
Searching...
No Matches
fif::environment Class Reference

#include <fif.hpp>

Collaboration diagram for fif::environment:

Public Member Functions

 environment ()
 
 ~environment ()
 
std::string_view get_string_constant (std::string_view data)
 

Public Attributes

ankerl::unordered_dense::set< std::unique_ptr< char[]>, indirect_string_hash, indirect_string_eqstring_constants
 
std::vector< LLVMValueRefexported_functions
 
std::vector< import_itemimported_functions
 
dictionary dict
 
std::vector< std::unique_ptr< opaque_compiler_data > > compiler_stack
 
std::vector< std::string_view > source_stack
 
fif_mode mode = fif_mode::interpreting
 
std::function< void(std::string_view)> report_error = [](std::string_view) { std::abort(); }
 

Detailed Description

Definition at line 744 of file fif.hpp.

Constructor & Destructor Documentation

◆ environment()

fif::environment::environment ( )
inline

Definition at line 860 of file fif.hpp.

Here is the call graph for this function:

◆ ~environment()

fif::environment::~environment ( )
inline

Definition at line 771 of file fif.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ get_string_constant()

std::string_view fif::environment::get_string_constant ( std::string_view  data)
inline

Definition at line 792 of file fif.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ compiler_stack

std::vector<std::unique_ptr<opaque_compiler_data> > fif::environment::compiler_stack

Definition at line 764 of file fif.hpp.

◆ dict

dictionary fif::environment::dict

Definition at line 762 of file fif.hpp.

◆ exported_functions

std::vector<LLVMValueRef> fif::environment::exported_functions

Definition at line 747 of file fif.hpp.

◆ imported_functions

std::vector<import_item> fif::environment::imported_functions

Definition at line 748 of file fif.hpp.

◆ mode

fif_mode fif::environment::mode = fif_mode::interpreting

Definition at line 767 of file fif.hpp.

◆ report_error

std::function<void(std::string_view)> fif::environment::report_error = [](std::string_view) { std::abort(); }

Definition at line 768 of file fif.hpp.

◆ source_stack

std::vector<std::string_view> fif::environment::source_stack

Definition at line 765 of file fif.hpp.

◆ string_constants

ankerl::unordered_dense::set<std::unique_ptr<char[]>, indirect_string_hash, indirect_string_eq> fif::environment::string_constants

Definition at line 746 of file fif.hpp.


The documentation for this class was generated from the following file: