5 #include <fridh/construction.hpp>
21 struct symbol_tree_node
;
28 typedef std::map
<std::string
, symbol_tree_node
*> node_children
;
30 struct symbol_tree_node
35 function
* function_pointer
;
36 class_type
* class_pointer
;
37 module
* module_pointer
;
40 node_children children
;
41 symbol_tree_node
* parent
;
44 symbol_tree_node(symbol_tree_node
const & other
);
45 symbol_tree_node(symbol::type type
);
48 symbol_tree_node
& operator=(symbol_tree_node
const & other
);
50 void copy(symbol_tree_node
const & other
);
53 bool exists(std::string
const & name
);
54 bool find_entity(std::string
const & name
, symbol_tree_node
* & output
);
58 #include <fridh/variable.hpp>
59 #include <fridh/class.hpp>
60 #include <fridh/function.hpp>
61 #include <fridh/module.hpp>