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

#include <fif.hpp>

Inheritance diagram for fif::mode_switch_scope:
Collaboration diagram for fif::mode_switch_scope:

Public Member Functions

 mode_switch_scope (opaque_compiler_data *p, environment &env, fif_mode running_mode)
 
virtual control_structure get_type () override
 
virtual ankerl::unordered_dense::map< uint64_t, typecheck_3_record > * typecheck_record () override
 
virtual state_stackworking_state () override
 
virtual var_dataget_var (std::string const &name) override
 
virtual var_datacreate_var (std::string const &name, int32_t type) override
 
virtual let_dataget_let (std::string const &name) override
 
virtual let_datacreate_let (std::string const &name, int32_t type, int64_t data, LLVMValueRef expression) override
 
virtual void set_working_state (std::unique_ptr< state_stack > p) override
 
virtual bool finish (environment &env) override
 
- Public Member Functions inherited from fif::opaque_compiler_data
 opaque_compiler_data (opaque_compiler_data *parent)
 
virtual ~opaque_compiler_data ()=default
 
virtual control_structure get_type ()
 
virtual LLVMValueRef llvm_function ()
 
virtual LLVMBasicBlockRefllvm_block ()
 
virtual int32_t word_id ()
 
virtual int32_t instance_id ()
 
virtual std::vector< int32_t > * bytecode_compilation_progress ()
 
virtual ankerl::unordered_dense::map< uint64_t, typecheck_3_record > * typecheck_record ()
 
virtual state_stackworking_state ()
 
virtual void set_working_state (std::unique_ptr< state_stack > p)
 
virtual bool finish (environment &env)
 
virtual var_dataget_var (std::string const &name)
 
virtual let_dataget_let (std::string const &name)
 
virtual var_datacreate_var (std::string const &name, int32_t type)
 
virtual let_datacreate_let (std::string const &name, int32_t type, int64_t data, LLVMValueRef expression)
 
virtual std::vector< int32_t > * type_substitutions ()
 

Public Attributes

opaque_compiler_datainterpreted_link = nullptr
 
fif_mode entry_mode
 
fif_mode running_mode
 

Additional Inherited Members

- Protected Attributes inherited from fif::opaque_compiler_data
opaque_compiler_dataparent = nullptr
 

Detailed Description

Definition at line 2953 of file fif.hpp.

Constructor & Destructor Documentation

◆ mode_switch_scope()

fif::mode_switch_scope::mode_switch_scope ( opaque_compiler_data p,
environment env,
fif_mode  running_mode 
)
inline

Definition at line 2959 of file fif.hpp.

Member Function Documentation

◆ create_let()

virtual let_data * fif::mode_switch_scope::create_let ( std::string const &  name,
int32_t  type,
int64_t  data,
LLVMValueRef  expression 
)
inlineoverridevirtual

Reimplemented from fif::opaque_compiler_data.

Definition at line 3000 of file fif.hpp.

Here is the call graph for this function:

◆ create_var()

virtual var_data * fif::mode_switch_scope::create_var ( std::string const &  name,
int32_t  type 
)
inlineoverridevirtual

Reimplemented from fif::opaque_compiler_data.

Definition at line 2994 of file fif.hpp.

Here is the call graph for this function:

◆ finish()

virtual bool fif::mode_switch_scope::finish ( environment env)
inlineoverridevirtual

Reimplemented from fif::opaque_compiler_data.

Definition at line 3007 of file fif.hpp.

◆ get_let()

virtual let_data * fif::mode_switch_scope::get_let ( std::string const &  name)
inlineoverridevirtual

Reimplemented from fif::opaque_compiler_data.

Definition at line 2997 of file fif.hpp.

Here is the call graph for this function:

◆ get_type()

virtual control_structure fif::mode_switch_scope::get_type ( )
inlineoverridevirtual

Reimplemented from fif::opaque_compiler_data.

Definition at line 2982 of file fif.hpp.

◆ get_var()

virtual var_data * fif::mode_switch_scope::get_var ( std::string const &  name)
inlineoverridevirtual

Reimplemented from fif::opaque_compiler_data.

Definition at line 2991 of file fif.hpp.

Here is the call graph for this function:

◆ set_working_state()

virtual void fif::mode_switch_scope::set_working_state ( std::unique_ptr< state_stack p)
inlineoverridevirtual

Reimplemented from fif::opaque_compiler_data.

Definition at line 3003 of file fif.hpp.

Here is the call graph for this function:

◆ typecheck_record()

virtual ankerl::unordered_dense::map< uint64_t, typecheck_3_record > * fif::mode_switch_scope::typecheck_record ( )
inlineoverridevirtual

Reimplemented from fif::opaque_compiler_data.

Definition at line 2985 of file fif.hpp.

Here is the call graph for this function:

◆ working_state()

virtual state_stack * fif::mode_switch_scope::working_state ( )
inlineoverridevirtual

Reimplemented from fif::opaque_compiler_data.

Definition at line 2988 of file fif.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ entry_mode

fif_mode fif::mode_switch_scope::entry_mode

Definition at line 2956 of file fif.hpp.

◆ interpreted_link

opaque_compiler_data* fif::mode_switch_scope::interpreted_link = nullptr

Definition at line 2955 of file fif.hpp.

◆ running_mode

fif_mode fif::mode_switch_scope::running_mode

Definition at line 2957 of file fif.hpp.


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