The Battle for Wesnoth  1.19.5+dev
debugger_fwd.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2024
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 formula_expression;
32 class formula;
33 class formula_callable;
34 class variant;
35 
36 class base_breakpoint;
37 
38 typedef std::shared_ptr<base_breakpoint> breakpoint_ptr;
39 
40 formula_debugger* add_debug_info(formula_debugger *fdb, int arg_number, const std::string& f_name);
41 
42 variant evaluate_arg_callback(formula_debugger &fdb, const formula_expression &expression, const formula_callable &variables);
43 
45 
47 
48 
49 } // end of namespace wfl
Definition: contexts.hpp:43
std::shared_ptr< base_breakpoint > breakpoint_ptr
formula_debugger * add_debug_info(formula_debugger *fdb, int arg_number, const std::string &f_name)
variant evaluate_formula_callback(formula_debugger &fdb, const formula &f, const formula_callable &variables)
variant evaluate_arg_callback(formula_debugger &fdb, const formula_expression &expression, const formula_callable &variables)
#define f