The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces
formula.cpp File Reference
#include "global.hpp"
#include <boost/lexical_cast.hpp>
#include <iostream>
#include <set>
#include <sstream>
#include "formula/callable.hpp"
#include "formula/function.hpp"
#include "random_new.hpp"
#include "serialization/string_utils.hpp"
Include dependency graph for formula.cpp:

Go to the source code of this file.

Namespaces

 game_logic
 

Variable Documentation

const formula_callable& base_

Definition at line 568 of file formula.cpp.

Referenced by terrain_builder::add_images_from_config().

expression_ptr body_

Definition at line 614 of file formula.cpp.

const_formula_ptr calculation

Definition at line 801 of file formula.cpp.

expr_table_ptr clauses_

Definition at line 615 of file formula.cpp.

formula_debugger* debugger_

Definition at line 571 of file formula.cpp.

exp_table_evaluated evaluated_table_
mutable

Definition at line 570 of file formula.cpp.

int f_

Definition at line 689 of file formula.cpp.

const formula_callable& global_

Definition at line 355 of file formula.cpp.

int i_

Definition at line 636 of file formula.cpp.

Referenced by dummy_action::print().

std::vector<expression_ptr> items_
expression_ptr key_
expression_ptr left_

Definition at line 409 of file formula.cpp.

variant list_

Definition at line 269 of file formula.cpp.

const formula_callable & local_

Definition at line 355 of file formula.cpp.

variant map_
OP op_

Definition at line 213 of file formula.cpp.

std::string op_str_

Definition at line 214 of file formula.cpp.

expression_ptr operand_

Definition at line 215 of file formula.cpp.

int pos

Definition at line 800 of file formula.cpp.

Referenced by unit_animation::add_anims(), display_chat_manager::add_chat_message(), replay::add_chat_message_location(), gui2::tpreferences::add_friend_list_entry(), editor::location_palette::add_item(), cutter::add_sub_image(), schema_validation::class_tag::add_tag(), mp::connect::side::add_widgets_to_scrollpane(), editor::location_palette::adjust_size(), ai::readonly_context_impl::best_defensive_position(), utils::smart_list< Data >::check_erase(), unit_type::check_id(), unit::clone(), help::convert_to_wml(), gui::menu::draw(), gui::menu::draw_row(), utf8::erase(), gui::menu::erase_item(), preprocessor_streambuf::error(), utils::escape(), wb::side_actions::execute_net_cmd(), schema_validation::class_tag::find_tag(), dialogs::file_dialog::format_dirname(), filesystem::get_binary_file_location(), preprocessor_data::get_chunk(), font::ttext::get_column_line(), replay_recorder_base::get_command_at(), preprocessor_streambuf::get_current_file(), get_location(), get_variations(), glewIsSupported(), gui::textbox::handle_event(), filesystem::ifs_seek(), lua_common::impl_vconfig_get(), game_lua_kernel::intf_fire_event(), lua_gui2::intf_remove_dialog_item(), gui::menu::item_ends_with_image(), editor::mouse_action::key_event(), gui::menu::basic_sorter::less(), lineno_string(), utils::smart_list< Data >::link(), pathfind::lower_bound(), lua_getlocal(), lua_setlocal(), wb::side_actions::make_net_cmd_insert(), utils::map_split(), config::merge_with(), gui::scrollbar::move_position(), open_connection(), help::unit_topic_generator::operator()(), operator<<(), output_map(), terrain_builder::parse_config(), preferences::parse_should_show_lobby_join(), help::parse_text(), game_state::place_sides_in_preferred_locations(), placing_score(), posrelat(), ai::readonly_context_impl::power_projection(), preferences::remove_acquaintance(), utils::replace(), terrain_builder::replace_rotate_tokens(), lua_fileops::resolve_filename(), save_image(), gui::textbox::scroll(), gui::scrollpane::scroll(), mp::gamebrowser::scroll(), translation::set_language(), replay_recorder_base::set_pos(), gui::scrollbar::set_position(), gui::menu::basic_sorter::set_position_sort(), ng::scenario::set_sides(), tinsert(), gui2::tlegacy_menu_item::tlegacy_menu_item(), tremove(), utils::unescape(), preprocessor_streambuf::warning(), and wesnoth_setlocale().

expression_ptr right_

Definition at line 409 of file formula.cpp.

variant str_

Definition at line 804 of file formula.cpp.

variant string_

Definition at line 219 of file formula.cpp.

Referenced by t_string_base::walker::update().

std::vector<substitution> subs_

Definition at line 805 of file formula.cpp.

function_symbol_table* symbols_

Definition at line 99 of file formula.cpp.

expr_table_ptr table_

Definition at line 569 of file formula.cpp.