Project Alice
Loading...
Searching...
No Matches
fif Namespace Reference

Classes

struct  compiled_word_instance
 
class  compiler_globals_layer
 
class  compiler_state
 
class  conditional_scope
 
class  dictionary
 
class  do_loop_scope
 
class  environment
 
class  f_true_accumulator
 
class  function_scope
 
struct  import_item
 
struct  indirect_string_eq
 
struct  indirect_string_hash
 
struct  interpreted_word_instance
 
class  interpreter_stack
 
struct  let_data
 
class  llvm_stack
 
class  locals_holder
 
class  mode_switch_scope
 
class  opaque_compiler_data
 
class  outer_interpreter
 
struct  parse_result
 
class  runtime_function_scope
 
struct  stack_consumption
 
class  state_stack
 
struct  string_start
 
struct  type
 
struct  type_match
 
struct  type_match_result
 
struct  type_span_gen_result
 
class  type_stack
 
class  typecheck3_record_holder
 
struct  typecheck_3_record
 
struct  var_data
 
struct  variable_match_result
 
class  while_loop_scope
 
struct  word
 
struct  word_match_result
 

Typedefs

using fif_call = int32_t *(*)(state_stack &, int32_t *, environment *)
 
using word_types = std::variant< interpreted_word_instance, compiled_word_instance >
 
using interpreter_zero_expr = int64_t(*)(int32_t t, environment *)
 
using interpreted_new = int64_t(*)()
 

Enumerations

enum class  stack_type { interpreter_stack = 0 , bytecode_compiler = 1 , llvm_compiler = 2 }
 
enum class  control_structure : uint8_t {
  none , function , str_if , str_while_loop ,
  str_do_loop , mode_switch , globals
}
 
enum class  fif_mode {
  interpreting = 0 , compiling_bytecode = 1 , compiling_llvm = 2 , terminated = 3 ,
  error = 4 , typechecking_lvl_1 = 5 , typechecking_lvl_2 = 6 , typechecking_lvl_3 = 7 ,
  typechecking_lvl1_failed = 8 , typechecking_lvl2_failed = 9 , typechecking_lvl3_failed = 10
}
 

Functions

LLVMValueRef empty_type_fn (LLVMValueRef r, int32_t type, environment *)
 
bool non_immediate_mode (fif_mode m)
 
bool typechecking_mode (fif_mode m)
 
bool typechecking_failed (fif_mode m)
 
fif_mode reset_typechecking (fif_mode m)
 
fif_mode fail_typechecking (fif_mode m)
 
std::string word_name_from_id (int32_t w, environment const &e)
 
int32_t * illegal_interpretation (state_stack &s, int32_t *p, environment *e)
 
bool is_positive_integer (char const *start, char const *end)
 
bool is_integer (char const *start, char const *end)
 
bool is_positive_fp (char const *start, char const *end)
 
bool is_fp (char const *start, char const *end)
 
double pow_10 (int n)
 
bool float_from_chars (char const *start, char const *end, float &float_out)
 
int32_t parse_int (std::string_view content)
 
float parse_float (std::string_view content)
 
type_match resolve_span_type (std::span< int32_t const > tlist, std::vector< int32_t > const &type_subs, environment &env)
 
variable_match_result fill_in_variable_types (int32_t source_type, std::span< int32_t const > match_span, std::vector< int32_t > &type_subs, environment &env)
 
int32_t interepreter_size (int32_t type, environment &env)
 
int32_t struct_child_count (int32_t type, environment &env)
 
int64_t interpreter_struct_zero_constant (int32_t t, environment *e)
 
uint32_t next_encoded_stack_type (std::span< int32_t const > desc)
 
int32_t instantiate_templated_struct_full (int32_t template_base, std::vector< int32_t > const &final_subtype_list, environment &env)
 
int32_t instantiate_templated_struct (int32_t template_base, std::vector< int32_t > const &subtypes, environment &env)
 
int32_t make_struct_type (std::string_view name, std::span< int32_t const > subtypes, std::vector< std::string_view > const &member_names, environment &env, int32_t template_types, int32_t extra_count)
 
type_match internal_resolve_type (std::string_view text, environment &env, std::vector< int32_t > *type_subs)
 
int32_t resolve_type (std::string_view text, environment &env, std::vector< int32_t > *type_subs)
 
type_span_gen_result internal_generate_type (std::string_view text, environment &env)
 
type_match_result match_stack_description (std::span< int32_t const > desc, state_stack &ts, environment &env, std::vector< int32_t > &type_subs)
 
void apply_stack_description (std::span< int32_t const > desc, state_stack &ts, environment &env)
 
stack_consumption get_stack_consumption (int32_t word, int32_t alternative, environment &env)
 
word_match_result match_word (word const &w, state_stack &ts, std::vector< word_types > const &all_instances, std::vector< int32_t > const &all_stack_types, environment &env)
 
std::string_view read_word (std::string_view source, uint32_t &read_position)
 
void execute_fif_word (interpreted_word_instance &wi, state_stack &ss, environment &env)
 
void execute_fif_word (compiled_word_instance &wi, state_stack &ss, environment &env)
 
void execute_fif_word (state_stack &ss, int32_t *ptr, environment &env)
 
int32_t * immediate_i32 (state_stack &s, int32_t *p, environment *)
 
int32_t * immediate_f32 (state_stack &s, int32_t *p, environment *)
 
int32_t * immediate_bool (state_stack &s, int32_t *p, environment *)
 
void do_immediate_i32 (state_stack &s, int32_t value, environment *e)
 
int32_t * immediate_type (state_stack &s, int32_t *p, environment *)
 
void do_immediate_type (state_stack &s, int32_t value, environment *e)
 
void do_immediate_bool (state_stack &s, bool value, environment *e)
 
void do_immediate_f32 (state_stack &s, float value, environment *e)
 
int32_t * function_return (state_stack &s, int32_t *p, environment *)
 
void execute_fif_word (parse_result word, environment &env, bool ignore_specializations)
 
std::vector< int32_t > expand_stack_description (state_stack &initial_stack_state, std::span< const int32_t > desc, int32_t stack_consumed, int32_t rstack_consumed)
 
bool compare_stack_description (std::span< const int32_t > a, std::span< const int32_t > b)
 
int32_t * call_function (state_stack &s, int32_t *p, environment *env)
 
int32_t * call_function_indirect (state_stack &s, int32_t *p, environment *env)
 
int32_t * enter_scope (state_stack &s, int32_t *p, environment *env)
 
int32_t * leave_scope (state_stack &s, int32_t *p, environment *env)
 
void switch_compiler_stack_mode (environment &env, fif_mode new_mode)
 
void restore_compiler_stack_mode (environment &env)
 
bool stack_types_match (state_stack &a, state_stack &b)
 
int32_t * conditional_jump (state_stack &s, int32_t *p, environment *env)
 
int32_t * reverse_conditional_jump (state_stack &s, int32_t *p, environment *env)
 
int32_t * unconditional_jump (state_stack &s, int32_t *p, environment *env)
 
uint32_t codepoint_from_utf8 (char const *start, char const *end)
 
size_t size_from_utf8 (char const *start)
 
bool codepoint_is_space (uint32_t c) noexcept
 
bool codepoint_is_line_break (uint32_t c) noexcept
 
string_start match_string_start (std::string_view source)
 
bool match_string_end (std::string_view source, int32_t eq_count_in)
 
parse_result read_token (std::string_view &source, environment &env)
 
void run_to_scope_end (environment &env)
 
void run_to_function_end (environment &env)
 
word_match_result get_basic_type_match (int32_t word_index, state_stack &current_type_state, environment &env, std::vector< int32_t > &specialize_t_subs, bool ignore_specializations)
 
bool fully_typecheck_word (int32_t w, int32_t word_index, interpreted_word_instance &wi, state_stack &current_type_state, environment &env, std::vector< int32_t > &tsubs)
 
bool compile_word (int32_t w, int32_t word_index, state_stack &state, fif_mode compile_mode, environment &env, std::vector< int32_t > &tsubs)
 
let_dataget_global_let (environment &env, std::string const &name)
 
var_dataget_global_var (environment &env, std::string const &name)
 
int32_t * immediate_local (state_stack &s, int32_t *p, environment *e)
 
int32_t * immediate_let (state_stack &s, int32_t *p, environment *e)
 
int32_t * immediate_global (state_stack &s, int32_t *p, environment *e)
 
void run_fif_interpreter (environment &env, std::string_view on_text)
 
void run_fif_interpreter (environment &env, std::string_view on_text, interpreter_stack &s)
 
void add_import (std::string_view name, void *ptr, fif_call interpreter_implementation, std::vector< int32_t > const &params, std::vector< int32_t > const &returns, environment &env)
 
int32_t * colon_definition (fif::state_stack &, int32_t *p, fif::environment *e)
 
int32_t * colon_specialization (fif::state_stack &, int32_t *p, fif::environment *e)
 
int32_t * iadd (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32_add (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64_add (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * isub (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32_sub (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64_sub (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * imul (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32_mul (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64_mul (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sidiv (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * uidiv (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32_div (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64_div (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * simod (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * uimod (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32_mod (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64_mod (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * dup (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * init (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * copy (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * drop (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_swap (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_if (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_else (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_then (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_while (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_loop (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_end_while (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_do (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_until (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fif_end_do (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * from_r (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * r_at (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * to_r (fif::state_stack &s, int32_t *p, fif::environment *e)
 
void add_precompiled (fif::environment &env, std::string name, fif::fif_call fn, std::vector< int32_t > types, bool immediate=false)
 
int32_t * ilt (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32lt (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64lt (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * uilt (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * igt (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * uigt (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32gt (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64gt (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * ile (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * uile (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32le (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64le (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * ige (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * uige (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32ge (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64ge (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * ieq (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32eq (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64eq (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * ine (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32ne (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64ne (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f_select (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * make_immediate (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * open_bracket (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * close_bracket (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * impl_heap_allot (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * impl_heap_free (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * impl_load (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * impl_load_deallocated (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * impl_store (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * impl_uninit_store (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_pointer_cast (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * pointer_cast (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * impl_sizeof (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * impl_index (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * allocate_buffer (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * copy_buffer (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * free_buffer (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_let_creation (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * create_let (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_var_creation (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * create_var (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * create_global_impl (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_fextract (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * forth_extract (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_fextractc (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * forth_extract_copy (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_finsert (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * forth_insert (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_fgep (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * forth_gep (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_fsmz (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * forth_struct_map_zero (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_fsmo (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * forth_struct_map_one (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * do_fsmt (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * forth_struct_map_two (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * type_construction (state_stack &s, int32_t *p, environment *e)
 
int32_t * do_make (state_stack &s, int32_t *p, environment *env)
 
int32_t * struct_definition (fif::state_stack &, int32_t *p, fif::environment *e)
 
int32_t * export_definition (fif::state_stack &, int32_t *p, fif::environment *e)
 
int32_t * do_use_base (state_stack &s, int32_t *p, environment *env)
 
int32_t * long_comment (fif::state_stack &, int32_t *p, fif::environment *e)
 
int32_t * line_comment (fif::state_stack &, int32_t *p, fif::environment *e)
 
int32_t * zext_i64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * zext_i32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * zext_i16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * zext_i8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * zext_ui64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * zext_ui32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * zext_ui16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * zext_ui8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sext_i64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sext_i32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sext_i16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sext_i8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sext_ui64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sext_ui32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sext_ui16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sext_ui8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * trunc_ui8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * trunc_i8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * trunc_i1 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * trunc_ui16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * trunc_i16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * trunc_ui32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * trunc_i32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * nop1 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * ftrunc (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * fext (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32i8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sif32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * uif32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * sif64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * uif64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32i16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32i32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32i64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32ui8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32ui16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32ui32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f32ui64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64i8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64i16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64i32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64i64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64ui8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64ui16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64ui32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f64ui64 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * bit_and (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * bit_or (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * bit_xor (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * bit_not (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * bit_shl (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * bit_ashr (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * bit_lshr (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * ident32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * ident16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * ident8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * idents32 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * idents16 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * idents8 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * ident1 (fif::state_stack &s, int32_t *p, fif::environment *e)
 
void initialize_standard_vocab (environment &fif_env)
 
constexpr sys::year_month_day civil_from_days (int64_t z) noexcept
 
int32_t f_date_to_year (int64_t v)
 
int32_t f_date_to_month (int64_t v)
 
int32_t * f_date_to_year_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t * f_date_to_month_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_empty_adjacent_province (sys::state *state, int32_t p_index)
 
int32_t * f_empty_adjacent_province_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_empty_adjacent_state (sys::state *state, int32_t p_index)
 
int32_t * f_empty_adjacent_state_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
template<typename F >
auto f_make_true_accumulator (F &&f) -> f_true_accumulator< F >
 
bool f_unowned_core (sys::state *state, int32_t n_index)
 
int32_t * f_unowned_core_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_core_in_nation (sys::state *state, int32_t n_index, int32_t t_index)
 
int32_t * f_core_in_nation_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_core_in_province (sys::state *state, int32_t p_index, int32_t t_index)
 
int32_t * f_core_in_province_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_core_in_state (sys::state *state, int32_t s_index, int32_t t_index)
 
int32_t * f_core_in_state_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_core_fully_state (sys::state *state, int32_t s_index, int32_t t_index)
 
int32_t * f_core_fully_state_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_has_cb_against (sys::state *state, int32_t targ_index, int32_t source_index)
 
int32_t * f_has_cb_against_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_has_access_with (sys::state *state, int32_t targ_index, int32_t source_index)
 
int32_t * f_has_access_with_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_has_any_factory (sys::state *state, int32_t s_index)
 
int32_t * f_has_any_factory_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_has_factory (sys::state *state, int32_t findex, int32_t s_index)
 
int32_t * f_has_factory_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_has_nmod (sys::state *state, int32_t m_index, int32_t n_index)
 
int32_t * f_has_nmod_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_has_pmod (sys::state *state, int32_t m_index, int32_t p_index)
 
int32_t * f_has_pmod_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_in_region (sys::state *state, int32_t rindex, int32_t p_index)
 
int32_t * f_in_region_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_owns_region (sys::state *state, int32_t rindex, int32_t n_index)
 
int32_t * f_owns_region_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_owns_state (sys::state *state, int32_t rindex, int32_t n_index)
 
int32_t * f_owns_state_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_nation_a (sys::state *state, int32_t aindex, int32_t bindex)
 
int32_t * f_nation_a_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_units_in_state (sys::state *state, int32_t sindex, int32_t nindex)
 
int32_t * f_units_in_state_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_units_in_province (sys::state *state, int32_t sindex, int32_t nindex)
 
int32_t * f_units_in_province_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t f_count_p_units (sys::state *state, int32_t sindex)
 
int32_t * f_count_p_units_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_are_at_war (sys::state *state, int32_t sindex, int32_t nindex)
 
int32_t * f_are_at_war_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_general_in_p (sys::state *state, int32_t sindex)
 
int32_t * f_general_in_p_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
int32_t f_count_ships (sys::state *state, int32_t sindex)
 
int32_t * f_count_ships_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_coastal_s (sys::state *state, int32_t sindex)
 
int32_t * f_coastal_s_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_state_produces (sys::state *state, int32_t cindex, int32_t sindex)
 
int32_t * f_state_produces_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_has_culture_core (sys::state *state, int32_t cindex, int32_t sindex)
 
int32_t * f_has_culture_core_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_canal_enabled (sys::state *state, int32_t sindex)
 
int32_t * f_canal_enabled_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_truce_with (sys::state *state, int32_t tindex, int32_t sindex)
 
int32_t * f_truce_with_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_has_named_leader (sys::state *state, int32_t name, int32_t nindex)
 
int32_t * f_has_named_leader_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_can_release (sys::state *state, int32_t tindex, int32_t nindex)
 
int32_t * f_can_release_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_are_allied (sys::state *state, int32_t tindex, int32_t sindex)
 
int32_t * f_are_allied_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_nation_has_any_factory (sys::state *state, int32_t s_index)
 
int32_t * f_nation_has_any_factory_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_is_bankrupt_debtor_to (sys::state *state, int32_t tindex, int32_t sindex)
 
int32_t * f_is_bankrupt_debtor_to_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_global_flag_set (sys::state *state, int32_t s_index)
 
int32_t * f_global_flag_set_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_can_nationalize (sys::state *state, int32_t s_index)
 
int32_t * f_can_nationalize_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
float f_movement_str (sys::state *state, bool is_social, int32_t s_index)
 
int32_t * f_movement_str_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
float f_influence_on (sys::state *state, int32_t t_index, int32_t n_index)
 
int32_t * f_influence_on_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
float f_relations (sys::state *state, int32_t t_index, int32_t n_index)
 
int32_t * f_relations_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_has_union_sphere (sys::state *state, int32_t s_index)
 
int32_t * f_has_union_sphere_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_state_rgo (sys::state *state, int32_t cindex, int32_t sindex)
 
int32_t * f_state_rgo_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_in_crisis (sys::state *state, int32_t nindex)
 
int32_t * f_in_crisis_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_can_build_naval_base (sys::state *state, int32_t cindex, int32_t sindex)
 
int32_t * f_can_build_naval_base_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
void * f_ranked_nations (sys::state *state)
 
int32_t * f_ranked_nations_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
std::string state_to_owner ()
 
std::string province_to_owner ()
 
std::string province_to_controller ()
 
std::string pop_to_location ()
 
std::string pop_to_owner ()
 
std::string nation_to_tag ()
 
std::string tag_to_nation ()
 
bool f_party_name (sys::state *state, int32_t s_index, int32_t ideoindex, int32_t nameindex)
 
int32_t * f_party_name_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
bool f_party_pos (sys::state *state, int32_t s_index, int32_t ideoindex, int32_t optid)
 
int32_t * f_party_pos_b (fif::state_stack &s, int32_t *p, fif::environment *e)
 
void common_fif_environment (sys::state &state, fif::environment &env)
 

Variables

constexpr int32_t fif_i32 = 0
 
constexpr int32_t fif_f32 = 1
 
constexpr int32_t fif_bool = 2
 
constexpr int32_t fif_type = 3
 
constexpr int32_t fif_i64 = 4
 
constexpr int32_t fif_f64 = 5
 
constexpr int32_t fif_u32 = 6
 
constexpr int32_t fif_u64 = 7
 
constexpr int32_t fif_i16 = 8
 
constexpr int32_t fif_u16 = 9
 
constexpr int32_t fif_i8 = 10
 
constexpr int32_t fif_u8 = 11
 
constexpr int32_t fif_nil = 12
 
constexpr int32_t fif_ptr = 13
 
constexpr int32_t fif_opaque_ptr = 14
 
constexpr int32_t fif_struct = 15
 
constexpr size_t inlining_cells_limit = 512
 

Typedef Documentation

◆ fif_call

using fif::fif_call = typedef int32_t * (*)(state_stack&, int32_t*, environment*)

Definition at line 409 of file fif.hpp.

◆ interpreted_new

using fif::interpreted_new = typedef int64_t(*)()

Definition at line 449 of file fif.hpp.

◆ interpreter_zero_expr

using fif::interpreter_zero_expr = typedef int64_t(*)(int32_t t, environment*)

Definition at line 448 of file fif.hpp.

◆ word_types

Definition at line 428 of file fif.hpp.

Enumeration Type Documentation

◆ control_structure

enum class fif::control_structure : uint8_t
strong
Enumerator
none 
function 
str_if 
str_while_loop 
str_do_loop 
mode_switch 
globals 

Definition at line 617 of file fif.hpp.

◆ fif_mode

enum class fif::fif_mode
strong
Enumerator
interpreting 
compiling_bytecode 
compiling_llvm 
terminated 
error 
typechecking_lvl_1 
typechecking_lvl_2 
typechecking_lvl_3 
typechecking_lvl1_failed 
typechecking_lvl2_failed 
typechecking_lvl3_failed 

Definition at line 702 of file fif.hpp.

◆ stack_type

enum class fif::stack_type
strong
Enumerator
interpreter_stack 
bytecode_compiler 
llvm_compiler 

Definition at line 46 of file fif.hpp.

Function Documentation

◆ add_import()

void fif::add_import ( std::string_view  name,
void *  ptr,
fif_call  interpreter_implementation,
std::vector< int32_t > const &  params,
std::vector< int32_t > const &  returns,
environment env 
)
inline

Definition at line 5154 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ add_precompiled()

void fif::add_precompiled ( fif::environment env,
std::string  name,
fif::fif_call  fn,
std::vector< int32_t >  types,
bool  immediate = false 
)
inline

Definition at line 6058 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ allocate_buffer()

int32_t * fif::allocate_buffer ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7064 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_stack_description()

void fif::apply_stack_description ( std::span< int32_t const >  desc,
state_stack ts,
environment env 
)
inline

Definition at line 1986 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bit_and()

int32_t * fif::bit_and ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9274 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bit_ashr()

int32_t * fif::bit_ashr ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9373 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bit_lshr()

int32_t * fif::bit_lshr ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9393 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bit_not()

int32_t * fif::bit_not ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9334 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bit_or()

int32_t * fif::bit_or ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9294 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bit_shl()

int32_t * fif::bit_shl ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9353 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bit_xor()

int32_t * fif::bit_xor ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9314 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ call_function()

int32_t * fif::call_function ( state_stack s,
int32_t *  p,
environment env 
)
inline

Definition at line 2926 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ call_function_indirect()

int32_t * fif::call_function_indirect ( state_stack s,
int32_t *  p,
environment env 
)
inline

Definition at line 2935 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ civil_from_days()

constexpr sys::year_month_day fif::civil_from_days ( int64_t  z)
inlineconstexprnoexcept

Definition at line 8 of file fif_common.hpp.

Here is the caller graph for this function:

◆ close_bracket()

int32_t * fif::close_bracket ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6648 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ codepoint_from_utf8()

uint32_t fif::codepoint_from_utf8 ( char const *  start,
char const *  end 
)
inline

Definition at line 4177 of file fif.hpp.

Here is the caller graph for this function:

◆ codepoint_is_line_break()

bool fif::codepoint_is_line_break ( uint32_t  c)
inlinenoexcept

Definition at line 4203 of file fif.hpp.

Here is the caller graph for this function:

◆ codepoint_is_space()

bool fif::codepoint_is_space ( uint32_t  c)
inlinenoexcept

Definition at line 4199 of file fif.hpp.

Here is the caller graph for this function:

◆ colon_definition()

int32_t * fif::colon_definition ( fif::state_stack ,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5303 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ colon_specialization()

int32_t * fif::colon_specialization ( fif::state_stack ,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5346 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ common_fif_environment()

void fif::common_fif_environment ( sys::state state,
fif::environment env 
)
inline

Definition at line 1324 of file fif_common.hpp.

Here is the caller graph for this function:

◆ compare_stack_description()

bool fif::compare_stack_description ( std::span< const int32_t >  a,
std::span< const int32_t >  b 
)
inline

Definition at line 3190 of file fif.hpp.

Here is the caller graph for this function:

◆ compile_word()

bool fif::compile_word ( int32_t  w,
int32_t  word_index,
state_stack state,
fif_mode  compile_mode,
environment env,
std::vector< int32_t > &  tsubs 
)
inline

Definition at line 4511 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ conditional_jump()

int32_t * fif::conditional_jump ( state_stack s,
int32_t *  p,
environment env 
)
inline

Definition at line 3215 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copy()

int32_t * fif::copy ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5853 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copy_buffer()

int32_t * fif::copy_buffer ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7086 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_global_impl()

int32_t * fif::create_global_impl ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7273 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_let()

int32_t * fif::create_let ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7150 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_var()

int32_t * fif::create_var ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7217 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_fextract()

int32_t * fif::do_fextract ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7309 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_fextractc()

int32_t * fif::do_fextractc ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7427 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_fgep()

int32_t * fif::do_fgep ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7642 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_finsert()

int32_t * fif::do_finsert ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7535 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_fsmo()

int32_t * fif::do_fsmo ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7868 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_fsmt()

int32_t * fif::do_fsmt ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7975 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_fsmz()

int32_t * fif::do_fsmz ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7763 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_immediate_bool()

void fif::do_immediate_bool ( state_stack s,
bool  value,
environment e 
)
inline

Definition at line 2237 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_immediate_f32()

void fif::do_immediate_f32 ( state_stack s,
float  value,
environment e 
)
inline

Definition at line 2258 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_immediate_i32()

void fif::do_immediate_i32 ( state_stack s,
int32_t  value,
environment e 
)
inline

Definition at line 2189 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_immediate_type()

void fif::do_immediate_type ( state_stack s,
int32_t  value,
environment e 
)
inline

Definition at line 2216 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_let_creation()

int32_t * fif::do_let_creation ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7136 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_make()

int32_t * fif::do_make ( state_stack s,
int32_t *  p,
environment env 
)
inline

Definition at line 8113 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_pointer_cast()

int32_t * fif::do_pointer_cast ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6950 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_use_base()

int32_t * fif::do_use_base ( state_stack s,
int32_t *  p,
environment env 
)
inline

Definition at line 8288 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ do_var_creation()

int32_t * fif::do_var_creation ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7202 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drop()

int32_t * fif::drop ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5871 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dup()

int32_t * fif::dup ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5825 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ empty_type_fn()

LLVMValueRef fif::empty_type_fn ( LLVMValueRef  r,
int32_t  type,
environment  
)
inline

Definition at line 441 of file fif.hpp.

◆ enter_scope()

int32_t * fif::enter_scope ( state_stack s,
int32_t *  p,
environment env 
)
inline

Definition at line 2943 of file fif.hpp.

Here is the caller graph for this function:

◆ execute_fif_word() [1/4]

void fif::execute_fif_word ( compiled_word_instance wi,
state_stack ss,
environment env 
)
inline

Definition at line 2157 of file fif.hpp.

◆ execute_fif_word() [2/4]

void fif::execute_fif_word ( interpreted_word_instance wi,
state_stack ss,
environment env 
)
inline

Definition at line 2146 of file fif.hpp.

Here is the caller graph for this function:

◆ execute_fif_word() [3/4]

void fif::execute_fif_word ( parse_result  word,
environment env,
bool  ignore_specializations 
)
inline

Definition at line 4622 of file fif.hpp.

Here is the call graph for this function:

◆ execute_fif_word() [4/4]

void fif::execute_fif_word ( state_stack ss,
int32_t *  ptr,
environment env 
)
inline

Definition at line 2160 of file fif.hpp.

◆ expand_stack_description()

std::vector< int32_t > fif::expand_stack_description ( state_stack initial_stack_state,
std::span< const int32_t >  desc,
int32_t  stack_consumed,
int32_t  rstack_consumed 
)
inline

Definition at line 3110 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ export_definition()

int32_t * fif::export_definition ( fif::state_stack ,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8241 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32_add()

int32_t * fif::f32_add ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5435 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32_div()

int32_t * fif::f32_div ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5677 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32_mod()

int32_t * fif::f32_mod ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5771 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32_mul()

int32_t * fif::f32_mul ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5583 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32_sub()

int32_t * fif::f32_sub ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5509 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32eq()

int32_t * fif::f32eq ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6465 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32ge()

int32_t * fif::f32ge ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6394 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32gt()

int32_t * fif::f32gt ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6210 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32i16()

int32_t * fif::f32i16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8973 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32i32()

int32_t * fif::f32i32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8993 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32i64()

int32_t * fif::f32i64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9013 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32i8()

int32_t * fif::f32i8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8873 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32le()

int32_t * fif::f32le ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6302 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32lt()

int32_t * fif::f32lt ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6097 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32ne()

int32_t * fif::f32ne ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6536 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32ui16()

int32_t * fif::f32ui16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9053 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32ui32()

int32_t * fif::f32ui32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9073 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32ui64()

int32_t * fif::f32ui64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9093 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f32ui8()

int32_t * fif::f32ui8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9033 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64_add()

int32_t * fif::f64_add ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5462 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64_div()

int32_t * fif::f64_div ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5704 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64_mod()

int32_t * fif::f64_mod ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5798 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64_mul()

int32_t * fif::f64_mul ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5610 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64_sub()

int32_t * fif::f64_sub ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5536 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64eq()

int32_t * fif::f64eq ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6490 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64ge()

int32_t * fif::f64ge ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6419 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64gt()

int32_t * fif::f64gt ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6235 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64i16()

int32_t * fif::f64i16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9134 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64i32()

int32_t * fif::f64i32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9154 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64i64()

int32_t * fif::f64i64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9174 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64i8()

int32_t * fif::f64i8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9114 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64le()

int32_t * fif::f64le ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6327 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64lt()

int32_t * fif::f64lt ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6122 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64ne()

int32_t * fif::f64ne ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6561 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64ui16()

int32_t * fif::f64ui16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9214 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64ui32()

int32_t * fif::f64ui32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9234 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64ui64()

int32_t * fif::f64ui64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9254 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f64ui8()

int32_t * fif::f64ui8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9194 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_are_allied()

bool fif::f_are_allied ( sys::state state,
int32_t  tindex,
int32_t  sindex 
)
inline

Definition at line 902 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_are_allied_b()

int32_t * fif::f_are_allied_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 908 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_are_at_war()

bool fif::f_are_at_war ( sys::state state,
int32_t  sindex,
int32_t  nindex 
)
inline

Definition at line 654 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_are_at_war_b()

int32_t * fif::f_are_at_war_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 659 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_can_build_naval_base()

bool fif::f_can_build_naval_base ( sys::state state,
int32_t  cindex,
int32_t  sindex 
)
inline

Definition at line 1185 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_can_build_naval_base_b()

int32_t * fif::f_can_build_naval_base_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1193 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_can_nationalize()

bool fif::f_can_nationalize ( sys::state state,
int32_t  s_index 
)
inline

Definition at line 989 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_can_nationalize_b()

int32_t * fif::f_can_nationalize_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 997 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_can_release()

bool fif::f_can_release ( sys::state state,
int32_t  tindex,
int32_t  nindex 
)
inline

Definition at line 880 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_can_release_b()

int32_t * fif::f_can_release_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 885 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_canal_enabled()

bool fif::f_canal_enabled ( sys::state state,
int32_t  sindex 
)
inline

Definition at line 810 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_canal_enabled_b()

int32_t * fif::f_canal_enabled_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 813 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_coastal_s()

bool fif::f_coastal_s ( sys::state state,
int32_t  sindex 
)
inline

Definition at line 727 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_coastal_s_b()

int32_t * fif::f_coastal_s_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 731 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_core_fully_state()

bool fif::f_core_fully_state ( sys::state state,
int32_t  s_index,
int32_t  t_index 
)
inline

Definition at line 291 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_core_fully_state_b()

int32_t * fif::f_core_fully_state_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 302 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_core_in_nation()

bool fif::f_core_in_nation ( sys::state state,
int32_t  n_index,
int32_t  t_index 
)
inline

Definition at line 197 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_core_in_nation_b()

int32_t * fif::f_core_in_nation_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 207 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_core_in_province()

bool fif::f_core_in_province ( sys::state state,
int32_t  p_index,
int32_t  t_index 
)
inline

Definition at line 229 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_core_in_province_b()

int32_t * fif::f_core_in_province_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 236 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_core_in_state()

bool fif::f_core_in_state ( sys::state state,
int32_t  s_index,
int32_t  t_index 
)
inline

Definition at line 258 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_core_in_state_b()

int32_t * fif::f_core_in_state_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 269 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_count_p_units()

int32_t fif::f_count_p_units ( sys::state state,
int32_t  sindex 
)
inline

Definition at line 628 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_count_p_units_b()

int32_t * fif::f_count_p_units_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 638 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_count_ships()

int32_t fif::f_count_ships ( sys::state state,
int32_t  sindex 
)
inline

Definition at line 701 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_count_ships_b()

int32_t * fif::f_count_ships_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 711 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_date_to_month()

int32_t fif::f_date_to_month ( int64_t  v)
inline

Definition at line 24 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_date_to_month_b()

int32_t * fif::f_date_to_month_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 42 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_date_to_year()

int32_t fif::f_date_to_year ( int64_t  v)
inline

Definition at line 21 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_date_to_year_b()

int32_t * fif::f_date_to_year_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 27 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_empty_adjacent_province()

bool fif::f_empty_adjacent_province ( sys::state state,
int32_t  p_index 
)
inline

Definition at line 58 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_empty_adjacent_province_b()

int32_t * fif::f_empty_adjacent_province_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 67 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_empty_adjacent_state()

bool fif::f_empty_adjacent_state ( sys::state state,
int32_t  p_index 
)
inline

Definition at line 86 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_empty_adjacent_state_b()

int32_t * fif::f_empty_adjacent_state_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 100 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_general_in_p()

bool fif::f_general_in_p ( sys::state state,
int32_t  sindex 
)
inline

Definition at line 676 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_general_in_p_b()

int32_t * fif::f_general_in_p_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 685 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_global_flag_set()

bool fif::f_global_flag_set ( sys::state state,
int32_t  s_index 
)
inline

Definition at line 970 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_global_flag_set_b()

int32_t * fif::f_global_flag_set_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 974 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_access_with()

bool fif::f_has_access_with ( sys::state state,
int32_t  targ_index,
int32_t  source_index 
)
inline

Definition at line 351 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_has_access_with_b()

int32_t * fif::f_has_access_with_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 359 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_any_factory()

bool fif::f_has_any_factory ( sys::state state,
int32_t  s_index 
)
inline

Definition at line 376 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_any_factory_b()

int32_t * fif::f_has_any_factory_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 380 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_cb_against()

bool fif::f_has_cb_against ( sys::state state,
int32_t  targ_index,
int32_t  source_index 
)
inline

Definition at line 324 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_cb_against_b()

int32_t * fif::f_has_cb_against_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 329 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_culture_core()

bool fif::f_has_culture_core ( sys::state state,
int32_t  cindex,
int32_t  sindex 
)
inline

Definition at line 783 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_has_culture_core_b()

int32_t * fif::f_has_culture_core_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 793 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_factory()

bool fif::f_has_factory ( sys::state state,
int32_t  findex,
int32_t  s_index 
)
inline

Definition at line 396 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_factory_b()

int32_t * fif::f_has_factory_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 401 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_named_leader()

bool fif::f_has_named_leader ( sys::state state,
int32_t  name,
int32_t  nindex 
)
inline

Definition at line 852 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_has_named_leader_b()

int32_t * fif::f_has_named_leader_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 863 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_nmod()

bool fif::f_has_nmod ( sys::state state,
int32_t  m_index,
int32_t  n_index 
)
inline

Definition at line 418 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_has_nmod_b()

int32_t * fif::f_has_nmod_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 427 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_pmod()

bool fif::f_has_pmod ( sys::state state,
int32_t  m_index,
int32_t  p_index 
)
inline

Definition at line 444 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_has_pmod_b()

int32_t * fif::f_has_pmod_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 453 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_has_union_sphere()

bool fif::f_has_union_sphere ( sys::state state,
int32_t  s_index 
)
inline

Definition at line 1099 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_has_union_sphere_b()

int32_t * fif::f_has_union_sphere_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1112 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_in_crisis()

bool fif::f_in_crisis ( sys::state state,
int32_t  nindex 
)
inline

Definition at line 1158 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_in_crisis_b()

int32_t * fif::f_in_crisis_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1170 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_in_region()

bool fif::f_in_region ( sys::state state,
int32_t  rindex,
int32_t  p_index 
)
inline

Definition at line 470 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_in_region_b()

int32_t * fif::f_in_region_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 479 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_influence_on()

float fif::f_influence_on ( sys::state state,
int32_t  t_index,
int32_t  n_index 
)
inline

Definition at line 1047 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_influence_on_b()

int32_t * fif::f_influence_on_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1054 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_is_bankrupt_debtor_to()

bool fif::f_is_bankrupt_debtor_to ( sys::state state,
int32_t  tindex,
int32_t  sindex 
)
inline

Definition at line 948 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_is_bankrupt_debtor_to_b()

int32_t * fif::f_is_bankrupt_debtor_to_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 954 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_make_true_accumulator()

template<typename F >
auto fif::f_make_true_accumulator ( F &&  f) -> f_true_accumulator<F>
inline

Definition at line 155 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_movement_str()

float fif::f_movement_str ( sys::state state,
bool  is_social,
int32_t  s_index 
)
inline

Definition at line 1012 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_movement_str_b()

int32_t * fif::f_movement_str_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1028 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_nation_a()

bool fif::f_nation_a ( sys::state state,
int32_t  aindex,
int32_t  bindex 
)
inline

Definition at line 548 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_nation_a_b()

int32_t * fif::f_nation_a_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 553 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_nation_has_any_factory()

bool fif::f_nation_has_any_factory ( sys::state state,
int32_t  s_index 
)
inline

Definition at line 924 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_nation_has_any_factory_b()

int32_t * fif::f_nation_has_any_factory_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 933 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_owns_region()

bool fif::f_owns_region ( sys::state state,
int32_t  rindex,
int32_t  n_index 
)
inline

Definition at line 496 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_owns_region_b()

int32_t * fif::f_owns_region_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 505 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_owns_state()

bool fif::f_owns_state ( sys::state state,
int32_t  rindex,
int32_t  n_index 
)
inline

Definition at line 522 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_owns_state_b()

int32_t * fif::f_owns_state_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 531 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_party_name()

bool fif::f_party_name ( sys::state state,
int32_t  s_index,
int32_t  ideoindex,
int32_t  nameindex 
)
inline

Definition at line 1250 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_party_name_b()

int32_t * fif::f_party_name_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1269 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_party_pos()

bool fif::f_party_pos ( sys::state state,
int32_t  s_index,
int32_t  ideoindex,
int32_t  optid 
)
inline

Definition at line 1287 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_party_pos_b()

int32_t * fif::f_party_pos_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1306 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_ranked_nations()

void * fif::f_ranked_nations ( sys::state state)
inline

Definition at line 1209 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_ranked_nations_b()

int32_t * fif::f_ranked_nations_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1212 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_relations()

float fif::f_relations ( sys::state state,
int32_t  t_index,
int32_t  n_index 
)
inline

Definition at line 1073 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_relations_b()

int32_t * fif::f_relations_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1080 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_select()

int32_t * fif::f_select ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6587 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_state_produces()

bool fif::f_state_produces ( sys::state state,
int32_t  cindex,
int32_t  sindex 
)
inline

Definition at line 747 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_state_produces_b()

int32_t * fif::f_state_produces_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 766 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_state_rgo()

bool fif::f_state_rgo ( sys::state state,
int32_t  cindex,
int32_t  sindex 
)
inline

Definition at line 1127 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_state_rgo_b()

int32_t * fif::f_state_rgo_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 1142 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_truce_with()

bool fif::f_truce_with ( sys::state state,
int32_t  tindex,
int32_t  sindex 
)
inline

Definition at line 829 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_truce_with_b()

int32_t * fif::f_truce_with_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 835 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_units_in_province()

bool fif::f_units_in_province ( sys::state state,
int32_t  sindex,
int32_t  nindex 
)
inline

Definition at line 601 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_units_in_province_b()

int32_t * fif::f_units_in_province_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 611 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_units_in_state()

bool fif::f_units_in_state ( sys::state state,
int32_t  sindex,
int32_t  nindex 
)
inline

Definition at line 570 of file fif_common.hpp.

Here is the caller graph for this function:

◆ f_units_in_state_b()

int32_t * fif::f_units_in_state_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 584 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_unowned_core()

bool fif::f_unowned_core ( sys::state state,
int32_t  n_index 
)
inline

Definition at line 160 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_unowned_core_b()

int32_t * fif::f_unowned_core_b ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 178 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fail_typechecking()

fif_mode fif::fail_typechecking ( fif_mode  m)
inline

Definition at line 731 of file fif.hpp.

Here is the caller graph for this function:

◆ fext()

int32_t * fif::fext ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8851 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_do()

int32_t * fif::fif_do ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5963 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_else()

int32_t * fif::fif_else ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5918 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_end_do()

int32_t * fif::fif_end_do ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5977 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_end_while()

int32_t * fif::fif_end_while ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5953 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_if()

int32_t * fif::fif_if ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5914 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_loop()

int32_t * fif::fif_loop ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5943 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_swap()

int32_t * fif::fif_swap ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5883 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_then()

int32_t * fif::fif_then ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5928 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_until()

int32_t * fif::fif_until ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5967 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fif_while()

int32_t * fif::fif_while ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5939 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fill_in_variable_types()

variable_match_result fif::fill_in_variable_types ( int32_t  source_type,
std::span< int32_t const >  match_span,
std::vector< int32_t > &  type_subs,
environment env 
)
inline

Definition at line 1876 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ float_from_chars()

bool fif::float_from_chars ( char const *  start,
char const *  end,
float &  float_out 
)
inline

Definition at line 1109 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forth_extract()

int32_t * fif::forth_extract ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7344 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forth_extract_copy()

int32_t * fif::forth_extract_copy ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7458 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forth_gep()

int32_t * fif::forth_gep ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7685 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forth_insert()

int32_t * fif::forth_insert ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7564 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forth_struct_map_one()

int32_t * fif::forth_struct_map_one ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7898 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forth_struct_map_two()

int32_t * fif::forth_struct_map_two ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8014 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forth_struct_map_zero()

int32_t * fif::forth_struct_map_zero ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7794 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ free_buffer()

int32_t * fif::free_buffer ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7116 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ from_r()

int32_t * fif::from_r ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5987 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ftrunc()

int32_t * fif::ftrunc ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8829 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fully_typecheck_word()

bool fif::fully_typecheck_word ( int32_t  w,
int32_t  word_index,
interpreted_word_instance wi,
state_stack current_type_state,
environment env,
std::vector< int32_t > &  tsubs 
)
inline

Definition at line 4410 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ function_return()

int32_t * fif::function_return ( state_stack s,
int32_t *  p,
environment  
)
inline

Definition at line 2284 of file fif.hpp.

Here is the caller graph for this function:

◆ get_basic_type_match()

word_match_result fif::get_basic_type_match ( int32_t  word_index,
state_stack current_type_state,
environment env,
std::vector< int32_t > &  specialize_t_subs,
bool  ignore_specializations 
)
inline

Definition at line 4326 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_global_let()

let_data * fif::get_global_let ( environment env,
std::string const &  name 
)
inline

Definition at line 4564 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_global_var()

var_data * fif::get_global_var ( environment env,
std::string const &  name 
)
inline

Definition at line 4571 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_stack_consumption()

stack_consumption fif::get_stack_consumption ( int32_t  word,
int32_t  alternative,
environment env 
)
inline

Definition at line 2057 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iadd()

int32_t * fif::iadd ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5415 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ident1()

int32_t * fif::ident1 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9474 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ident16()

int32_t * fif::ident16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9424 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ident32()

int32_t * fif::ident32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9414 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ident8()

int32_t * fif::ident8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9434 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ idents16()

int32_t * fif::idents16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9454 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ idents32()

int32_t * fif::idents32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9444 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ idents8()

int32_t * fif::idents8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 9464 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ieq()

int32_t * fif::ieq ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6444 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ige()

int32_t * fif::ige ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6352 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ igt()

int32_t * fif::igt ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6168 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ile()

int32_t * fif::ile ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6260 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ illegal_interpretation()

int32_t * fif::illegal_interpretation ( state_stack s,
int32_t *  p,
environment e 
)
inline

Definition at line 1027 of file fif.hpp.

◆ ilt()

int32_t * fif::ilt ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6076 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ immediate_bool()

int32_t * fif::immediate_bool ( state_stack s,
int32_t *  p,
environment  
)
inline

Definition at line 2183 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ immediate_f32()

int32_t * fif::immediate_f32 ( state_stack s,
int32_t *  p,
environment  
)
inline

Definition at line 2177 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ immediate_global()

int32_t * fif::immediate_global ( state_stack s,
int32_t *  p,
environment e 
)
inline

Definition at line 4608 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ immediate_i32()

int32_t * fif::immediate_i32 ( state_stack s,
int32_t *  p,
environment  
)
inline

Definition at line 2171 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ immediate_let()

int32_t * fif::immediate_let ( state_stack s,
int32_t *  p,
environment e 
)
inline

Definition at line 4594 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ immediate_local()

int32_t * fif::immediate_local ( state_stack s,
int32_t *  p,
environment e 
)
inline

Definition at line 4579 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ immediate_type()

int32_t * fif::immediate_type ( state_stack s,
int32_t *  p,
environment  
)
inline

Definition at line 2210 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ impl_heap_allot()

int32_t * fif::impl_heap_allot ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6653 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ impl_heap_free()

int32_t * fif::impl_heap_free ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6685 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ impl_index()

int32_t * fif::impl_index ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7038 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ impl_load()

int32_t * fif::impl_load ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6715 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ impl_load_deallocated()

int32_t * fif::impl_load_deallocated ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6784 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ impl_sizeof()

int32_t * fif::impl_sizeof ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 7000 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ impl_store()

int32_t * fif::impl_store ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6837 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ impl_uninit_store()

int32_t * fif::impl_uninit_store ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6899 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ imul()

int32_t * fif::imul ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5563 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ine()

int32_t * fif::ine ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6515 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

int32_t * fif::init ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5843 of file fif.hpp.

Here is the call graph for this function:

◆ initialize_standard_vocab()

void fif::initialize_standard_vocab ( environment fif_env)
inline

Definition at line 9485 of file fif.hpp.

Here is the caller graph for this function:

◆ instantiate_templated_struct()

int32_t fif::instantiate_templated_struct ( int32_t  template_base,
std::vector< int32_t > const &  subtypes,
environment env 
)
inline

Definition at line 1322 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ instantiate_templated_struct_full()

int32_t fif::instantiate_templated_struct_full ( int32_t  template_base,
std::vector< int32_t > const &  final_subtype_list,
environment env 
)
inline

Definition at line 1234 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interepreter_size()

int32_t fif::interepreter_size ( int32_t  type,
environment env 
)
inline

Definition at line 1188 of file fif.hpp.

Here is the caller graph for this function:

◆ internal_generate_type()

type_span_gen_result fif::internal_generate_type ( std::string_view  text,
environment env 
)
inline

Definition at line 1717 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ internal_resolve_type()

type_match fif::internal_resolve_type ( std::string_view  text,
environment env,
std::vector< int32_t > *  type_subs 
)
inline

Definition at line 1621 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpreter_struct_zero_constant()

int64_t fif::interpreter_struct_zero_constant ( int32_t  t,
environment e 
)
inline

Definition at line 1202 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_fp()

bool fif::is_fp ( char const *  start,
char const *  end 
)
inline

Definition at line 1075 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_integer()

bool fif::is_integer ( char const *  start,
char const *  end 
)
inline

Definition at line 1055 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_positive_fp()

bool fif::is_positive_fp ( char const *  start,
char const *  end 
)
inline

Definition at line 1064 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_positive_integer()

bool fif::is_positive_integer ( char const *  start,
char const *  end 
)
inline

Definition at line 1044 of file fif.hpp.

Here is the caller graph for this function:

◆ isub()

int32_t * fif::isub ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5489 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ leave_scope()

int32_t * fif::leave_scope ( state_stack s,
int32_t *  p,
environment env 
)
inline

Definition at line 2947 of file fif.hpp.

Here is the caller graph for this function:

◆ line_comment()

int32_t * fif::line_comment ( fif::state_stack ,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8322 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ long_comment()

int32_t * fif::long_comment ( fif::state_stack ,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8304 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_immediate()

int32_t * fif::make_immediate ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6625 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_struct_type()

int32_t fif::make_struct_type ( std::string_view  name,
std::span< int32_t const >  subtypes,
std::vector< std::string_view > const &  member_names,
environment env,
int32_t  template_types,
int32_t  extra_count 
)
inline

Definition at line 1392 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ match_stack_description()

type_match_result fif::match_stack_description ( std::span< int32_t const >  desc,
state_stack ts,
environment env,
std::vector< int32_t > &  type_subs 
)
inline

Definition at line 1931 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ match_string_end()

bool fif::match_string_end ( std::string_view  source,
int32_t  eq_count_in 
)
inline

Definition at line 4231 of file fif.hpp.

Here is the caller graph for this function:

◆ match_string_start()

string_start fif::match_string_start ( std::string_view  source)
inline

Definition at line 4212 of file fif.hpp.

Here is the caller graph for this function:

◆ match_word()

word_match_result fif::match_word ( word const &  w,
state_stack ts,
std::vector< word_types > const &  all_instances,
std::vector< int32_t > const &  all_stack_types,
environment env 
)
inline

Definition at line 2110 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nation_to_tag()

std::string fif::nation_to_tag ( )
inline

Definition at line 1243 of file fif_common.hpp.

Here is the caller graph for this function:

◆ next_encoded_stack_type()

uint32_t fif::next_encoded_stack_type ( std::span< int32_t const >  desc)
inline

Definition at line 1218 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ non_immediate_mode()

bool fif::non_immediate_mode ( fif_mode  m)
inline

Definition at line 716 of file fif.hpp.

◆ nop1()

int32_t * fif::nop1 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8819 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ open_bracket()

int32_t * fif::open_bracket ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6644 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_float()

float fif::parse_float ( std::string_view  content)
inline

Definition at line 1162 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_int()

int32_t fif::parse_int ( std::string_view  content)
inline

Definition at line 1154 of file fif.hpp.

Here is the caller graph for this function:

◆ pointer_cast()

int32_t * fif::pointer_cast ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6956 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pop_to_location()

std::string fif::pop_to_location ( )
inline

Definition at line 1237 of file fif_common.hpp.

Here is the caller graph for this function:

◆ pop_to_owner()

std::string fif::pop_to_owner ( )
inline

Definition at line 1240 of file fif_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pow_10()

double fif::pow_10 ( int  n)
inline

Definition at line 1084 of file fif.hpp.

Here is the caller graph for this function:

◆ province_to_controller()

std::string fif::province_to_controller ( )
inline

Definition at line 1234 of file fif_common.hpp.

Here is the caller graph for this function:

◆ province_to_owner()

std::string fif::province_to_owner ( )
inline

Definition at line 1231 of file fif_common.hpp.

Here is the caller graph for this function:

◆ r_at()

int32_t * fif::r_at ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6005 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_token()

parse_result fif::read_token ( std::string_view &  source,
environment env 
)
inline

Definition at line 4253 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_word()

std::string_view fif::read_word ( std::string_view  source,
uint32_t read_position 
)
inline

Definition at line 2132 of file fif.hpp.

◆ reset_typechecking()

fif_mode fif::reset_typechecking ( fif_mode  m)
inline

Definition at line 726 of file fif.hpp.

Here is the caller graph for this function:

◆ resolve_span_type()

type_match fif::resolve_span_type ( std::span< int32_t const >  tlist,
std::vector< int32_t > const &  type_subs,
environment env 
)
inline

Definition at line 1797 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resolve_type()

int32_t fif::resolve_type ( std::string_view  text,
environment env,
std::vector< int32_t > *  type_subs 
)
inline

Definition at line 1707 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ restore_compiler_stack_mode()

void fif::restore_compiler_stack_mode ( environment env)
inline

Definition at line 3018 of file fif.hpp.

Here is the caller graph for this function:

◆ reverse_conditional_jump()

int32_t * fif::reverse_conditional_jump ( state_stack s,
int32_t *  p,
environment env 
)
inline

Definition at line 3223 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_fif_interpreter() [1/2]

void fif::run_fif_interpreter ( environment env,
std::string_view  on_text 
)
inline

Definition at line 5096 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_fif_interpreter() [2/2]

void fif::run_fif_interpreter ( environment env,
std::string_view  on_text,
interpreter_stack s 
)
inline

Definition at line 5111 of file fif.hpp.

Here is the call graph for this function:

◆ run_to_function_end()

void fif::run_to_function_end ( environment env)
inline

Definition at line 4319 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_to_scope_end()

void fif::run_to_scope_end ( environment env)
inline

Definition at line 4301 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sext_i16()

int32_t * fif::sext_i16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8526 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sext_i32()

int32_t * fif::sext_i32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8497 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sext_i64()

int32_t * fif::sext_i64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8468 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sext_i8()

int32_t * fif::sext_i8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8555 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sext_ui16()

int32_t * fif::sext_ui16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8642 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sext_ui32()

int32_t * fif::sext_ui32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8613 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sext_ui64()

int32_t * fif::sext_ui64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8584 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sext_ui8()

int32_t * fif::sext_ui8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8671 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sidiv()

int32_t * fif::sidiv ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5637 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sif32()

int32_t * fif::sif32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8893 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sif64()

int32_t * fif::sif64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8933 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ simod()

int32_t * fif::simod ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5731 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size_from_utf8()

size_t fif::size_from_utf8 ( char const *  start)
inline

Definition at line 4193 of file fif.hpp.

Here is the caller graph for this function:

◆ stack_types_match()

bool fif::stack_types_match ( state_stack a,
state_stack b 
)
inline

Definition at line 3200 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ state_to_owner()

std::string fif::state_to_owner ( )
inline

Definition at line 1228 of file fif_common.hpp.

Here is the caller graph for this function:

◆ struct_child_count()

int32_t fif::struct_child_count ( int32_t  type,
environment env 
)
inline

Definition at line 1195 of file fif.hpp.

Here is the caller graph for this function:

◆ struct_definition()

int32_t * fif::struct_definition ( fif::state_stack ,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8169 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ switch_compiler_stack_mode()

void fif::switch_compiler_stack_mode ( environment env,
fif_mode  new_mode 
)
inline

Definition at line 3014 of file fif.hpp.

Here is the caller graph for this function:

◆ tag_to_nation()

std::string fif::tag_to_nation ( )
inline

Definition at line 1246 of file fif_common.hpp.

Here is the caller graph for this function:

◆ to_r()

int32_t * fif::to_r ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6038 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trunc_i1()

int32_t * fif::trunc_i1 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8734 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trunc_i16()

int32_t * fif::trunc_i16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8768 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trunc_i32()

int32_t * fif::trunc_i32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8802 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trunc_i8()

int32_t * fif::trunc_i8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8717 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trunc_ui16()

int32_t * fif::trunc_ui16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8751 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trunc_ui32()

int32_t * fif::trunc_ui32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8785 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trunc_ui8()

int32_t * fif::trunc_ui8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8700 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ type_construction()

int32_t * fif::type_construction ( state_stack s,
int32_t *  p,
environment e 
)
inline

Definition at line 8107 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ typechecking_failed()

bool fif::typechecking_failed ( fif_mode  m)
inline

Definition at line 723 of file fif.hpp.

◆ typechecking_mode()

bool fif::typechecking_mode ( fif_mode  m)
inline

Definition at line 719 of file fif.hpp.

◆ uidiv()

int32_t * fif::uidiv ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5657 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uif32()

int32_t * fif::uif32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8913 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uif64()

int32_t * fif::uif64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8953 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uige()

int32_t * fif::uige ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6373 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uigt()

int32_t * fif::uigt ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6189 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uile()

int32_t * fif::uile ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6281 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uilt()

int32_t * fif::uilt ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 6147 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uimod()

int32_t * fif::uimod ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 5751 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unconditional_jump()

int32_t * fif::unconditional_jump ( state_stack s,
int32_t *  p,
environment env 
)
inline

Definition at line 3231 of file fif.hpp.

Here is the caller graph for this function:

◆ word_name_from_id()

std::string fif::word_name_from_id ( int32_t  w,
environment const &  e 
)
inline

Definition at line 1019 of file fif.hpp.

Here is the caller graph for this function:

◆ zext_i16()

int32_t * fif::zext_i16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8367 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zext_i32()

int32_t * fif::zext_i32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8350 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zext_i64()

int32_t * fif::zext_i64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8334 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zext_i8()

int32_t * fif::zext_i8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8384 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zext_ui16()

int32_t * fif::zext_ui16 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8434 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zext_ui32()

int32_t * fif::zext_ui32 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8417 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zext_ui64()

int32_t * fif::zext_ui64 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8401 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zext_ui8()

int32_t * fif::zext_ui8 ( fif::state_stack s,
int32_t *  p,
fif::environment e 
)
inline

Definition at line 8451 of file fif.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ fif_bool

constexpr int32_t fif::fif_bool = 2
inlineconstexpr

Definition at line 485 of file fif.hpp.

◆ fif_f32

constexpr int32_t fif::fif_f32 = 1
inlineconstexpr

Definition at line 484 of file fif.hpp.

◆ fif_f64

constexpr int32_t fif::fif_f64 = 5
inlineconstexpr

Definition at line 488 of file fif.hpp.

◆ fif_i16

constexpr int32_t fif::fif_i16 = 8
inlineconstexpr

Definition at line 491 of file fif.hpp.

◆ fif_i32

constexpr int32_t fif::fif_i32 = 0
inlineconstexpr

Definition at line 483 of file fif.hpp.

◆ fif_i64

constexpr int32_t fif::fif_i64 = 4
inlineconstexpr

Definition at line 487 of file fif.hpp.

◆ fif_i8

constexpr int32_t fif::fif_i8 = 10
inlineconstexpr

Definition at line 493 of file fif.hpp.

◆ fif_nil

constexpr int32_t fif::fif_nil = 12
inlineconstexpr

Definition at line 495 of file fif.hpp.

◆ fif_opaque_ptr

constexpr int32_t fif::fif_opaque_ptr = 14
inlineconstexpr

Definition at line 497 of file fif.hpp.

◆ fif_ptr

constexpr int32_t fif::fif_ptr = 13
inlineconstexpr

Definition at line 496 of file fif.hpp.

◆ fif_struct

constexpr int32_t fif::fif_struct = 15
inlineconstexpr

Definition at line 498 of file fif.hpp.

◆ fif_type

constexpr int32_t fif::fif_type = 3
inlineconstexpr

Definition at line 486 of file fif.hpp.

◆ fif_u16

constexpr int32_t fif::fif_u16 = 9
inlineconstexpr

Definition at line 492 of file fif.hpp.

◆ fif_u32

constexpr int32_t fif::fif_u32 = 6
inlineconstexpr

Definition at line 489 of file fif.hpp.

◆ fif_u64

constexpr int32_t fif::fif_u64 = 7
inlineconstexpr

Definition at line 490 of file fif.hpp.

◆ fif_u8

constexpr int32_t fif::fif_u8 = 11
inlineconstexpr

Definition at line 494 of file fif.hpp.

◆ inlining_cells_limit

constexpr size_t fif::inlining_cells_limit = 512
inlineconstexpr

Definition at line 4175 of file fif.hpp.