The Battle for Wesnoth  1.17.0-dev
debugger_fwd.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2021
3  by Yurii Chernyi <terraninfo@terraninfo.net>
4  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY.
12 
13  See the COPYING file for more details.
14 */
15 
16 /**
17  * @file
18  * Formula AI debugger, forward
19  *
20  */
21 
22 #pragma once
23 
24 #include <memory>
25 #include <string>
26 
27 
28 namespace wfl {
29 
30 class formula_debugger;
31 class debug_info;
32 class formula_expression;
33 class formula;
34 class formula_callable;
35 class variant;
36 
38 
39 typedef std::shared_ptr<base_breakpoint> breakpoint_ptr;
40 
41 formula_debugger* add_debug_info(formula_debugger *fdb, int arg_number, const std::string& f_name);
42 
43 variant evaluate_arg_callback(formula_debugger &fdb, const formula_expression &expression, const formula_callable &variables);
44 
46 
48 
49 
50 } // end of namespace wfl
formula_debugger * add_debug_info(formula_debugger *fdb, int arg_number, const std::string &f_name)
std::shared_ptr< base_breakpoint > breakpoint_ptr
variant evaluate_arg_callback(formula_debugger &fdb, const formula_expression &expression, const formula_callable &variables)
variant evaluate_formula_callback(formula_debugger &fdb, const formula &f, const formula_callable &variables)
#define f
Definition: contexts.hpp:44